Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
passsy committed Mar 29, 2022
1 parent ed3757e commit 69872d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sidekick_core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ This project is the base for all sidekick CLIs
import 'package:sidekick_core/sidekick_core.dart';
Future<void> main(List<String> args) async {
initializeSidekick(name: 'flg', mainProjectPath: 'dev/integration_tests/flutter_gallery');
// Use args
final runner = initializeSidekick(name: 'flg', mainProjectPath: 'dev/integration_tests/flutter_gallery');
runner.addCommand(YourCommand());
return await runner.run(args);
}
```

0 comments on commit 69872d8

Please sign in to comment.