Skip to content

Commit

Permalink
add example commands
Browse files Browse the repository at this point in the history
  • Loading branch information
marph91 committed Jun 11, 2024
1 parent 4208e47 commit 0bd08d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/contributing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## How to add a new format?

1. Discuss the format at the forum or github
2. Implementat at [src/](https://github.com/marph91/jimmy/tree/master/src/formats)
2. Implement at [src/](https://github.com/marph91/jimmy/tree/master/src/formats)
3. Provide an example file and [add a test](https://github.com/marph91/jimmy/blob/master/test/example_commands.sh)
4. Lint with [lint.sh](https://github.com/marph91/jimmy/blob/master/lint.sh)
5. Document at [docs/](https://github.com/marph91/jimmy/tree/master/docs/bundled_formats)
Expand Down
5 changes: 3 additions & 2 deletions test/example_commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ CACHE=".cache" # created at a testsuite run
EXECUTABLE="${1:-python src/jimmy_cli.py}"
echo "Running with $EXECUTABLE"

$EXECUTABLE "$CACHE"
$EXECUTABLE "$CACHE/arbitrary_folder" "$CACHE"
$EXECUTABLE "$CACHE/arbitrary_folder"
$EXECUTABLE "$CACHE/arbitrary_folder" "$CACHE/arbitrary_folder"
$EXECUTABLE "$CACHE/bear/backup.bear2bk" --format bear
$EXECUTABLE "$CACHE/clipto/clipto_backup_240401_105154.json" --format clipto
$EXECUTABLE "$CACHE/dynalist/dynalist-backup-2024-04-12.zip" --format dynalist
$EXECUTABLE "$CACHE/google_keep/takeout-20240401T160516Z-001.zip" --format google_keep
Expand Down

0 comments on commit 0bd08d4

Please sign in to comment.