chore: Simplify file structure
This commit is contained in:
parent
a1cc611eff
commit
87117f2e9e
|
@ -1,8 +1,8 @@
|
||||||
import 'dart:core';
|
import 'dart:core';
|
||||||
|
|
||||||
import 'package:funkblubber/funkblubber.dart' as funkblubber;
|
import 'package:funkblubber/funkwhale.dart' as funkblubber;
|
||||||
import 'package:funkblubber/console.dart' as console;
|
import 'package:funkblubber/console.dart' as console;
|
||||||
import 'package:funkblubber/parsing/parser.dart' as parser;
|
import 'package:funkblubber/parser.dart' as parser;
|
||||||
|
|
||||||
void main(final List<String> arguments) async {
|
void main(final List<String> arguments) async {
|
||||||
final result = parser.extract(arguments);
|
final result = parser.extract(arguments);
|
||||||
|
|
|
@ -1,12 +1,21 @@
|
||||||
import 'package:funkblubber/funkentity.dart';
|
import 'package:funkblubber/funkentity.dart';
|
||||||
import 'package:funkblubber/console.dart' as console;
|
import 'package:funkblubber/console.dart' as console;
|
||||||
import 'package:funkblubber/parsing/parsing_stage.dart';
|
|
||||||
|
|
||||||
enum Action {
|
enum Action {
|
||||||
download,
|
download,
|
||||||
upload,
|
upload,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum ParsingStage {
|
||||||
|
nothing,
|
||||||
|
album,
|
||||||
|
artist,
|
||||||
|
track,
|
||||||
|
path,
|
||||||
|
upload,
|
||||||
|
domain,
|
||||||
|
}
|
||||||
|
|
||||||
class StageResult {
|
class StageResult {
|
||||||
StageResult({required this.result, required this.stage});
|
StageResult({required this.result, required this.stage});
|
||||||
final ParseResult result;
|
final ParseResult result;
|
|
@ -1,9 +0,0 @@
|
||||||
enum ParsingStage {
|
|
||||||
nothing,
|
|
||||||
album,
|
|
||||||
artist,
|
|
||||||
track,
|
|
||||||
path,
|
|
||||||
upload,
|
|
||||||
domain,
|
|
||||||
}
|
|
Loading…
Reference in New Issue