Skip to content

Commit

Permalink
Merge branch 'completes'
Browse files Browse the repository at this point in the history
  • Loading branch information
tenfyzhong committed Jan 6, 2024
2 parents 8cd6c18 + 6a63da6 commit b49d563
Showing 1 changed file with 8 additions and 0 deletions.
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 b49d563

Please sign in to comment.