-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Carbon now cli for screenshot outputs.
- Loading branch information
1 parent
e869ae1
commit 9855575
Showing
6 changed files
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# #!/usr/bin/env zsh | ||
|
||
typeset -A files | ||
files[before/runner.dart]=before | ||
files[after/runner.dart]=after | ||
|
||
for file in ${(k)files} | ||
do | ||
output=${files[$file]} | ||
echo "Processing: $file" | ||
# note: best themes to use are: seti, synthwave '84, night owl, vscode | ||
carbon-now $file -p my-preset --save-as screenshots/$output && echo "Output: $output" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
import 'package:example/runner.dart'; | ||
|
||
void main(List<String> arguments) async { | ||
final runner = GitRunner(); | ||
await runner.run(arguments); | ||
} | ||
// void main(List<String> arguments) async { | ||
// final runner = GitRunner(); | ||
// await runner.run(arguments); | ||
// } | ||
|
||
Future<void> main(List<String> arguments) => GitRunner().run(arguments); |