-
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.
- Loading branch information
1 parent
d3c7f09
commit 6a63da6
Showing
4 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,8 @@ | ||
complete st2 -f | ||
complete st2 -r -f -s r -l root -d 'The root struct name (default: Root)' | ||
complete st2 -r -F -s i -l input -d 'Input file, if not set, it will read from stdio' | ||
complete st2 -l rc -d 'Read input from clipboard' | ||
complete st2 -r -f -s s -l src -a "json proto thrift go csv" -d 'The source data type, it will use the suffix of the input file if not set' | ||
complete st2 -r -f -s d -l dst -a "go proto thrift" -d 'The destination data type, it will use the suffix of the output file if not set' | ||
complete st2 -r -F -s o -l output -d 'Output file, if not set, it will write to stdout' | ||
complete st2 -l wc -d 'Write output to clipboard' |