-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
15 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,12 @@ | ||
#!/usr/bin/env bash | ||
exec linear-cli issue list "$@" | ||
if [ "$#" -eq 0 ]; then | ||
printf "No subcommand provided, defaulting to 'lc issue list'\nlc --help to see subcommands\n" >&2 | ||
exec linear-cli issue list | ||
fi | ||
if [[ "$*" =~ --help|-h ]] | ||
then | ||
printf "Each subcommand has its own help, use 'lc <subcommand> --help' to see it\n" >&2 | ||
linear-cli "$@" 2>&1|sed 's/linear-cli/lc/g' | ||
exit 0 | ||
fi | ||
exec linear-cli "$@" |
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