Skip to content

Commit

Permalink
fish complete
Browse files Browse the repository at this point in the history
  • Loading branch information
tenfyzhong committed Jan 6, 2024
1 parent d3c7f09 commit 6a63da6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions cmd/st2/completions/st2.fish
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'

0 comments on commit 6a63da6

Please sign in to comment.