Add usaco cat and copy commands
Co-Authored-By: Claude Code <[email protected]>
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
# usaco skip <name> Move solving/<name> -> skipped/<name>
|
||||
# usaco io <name> [io-name] Show the problem's io name, or set it: renames <old>.in/.out
|
||||
# and rewires STDIO("...") in main.cpp (adds it if missing)
|
||||
# usaco cat <name> Print the problem's main.cpp to stdout (pipeable)
|
||||
# usaco copy <name> Copy the problem's main.cpp to the clipboard (alias: cp)
|
||||
# usaco vim <name> Open the problem's main.cpp in $EDITOR (aliases: edit, e)
|
||||
# usaco open <name> Open the problem's saved URL in a browser
|
||||
# usaco list List problems by status
|
||||
@@ -47,6 +49,8 @@ case "$cmd" in
|
||||
undo|u) cmd=undo ;;
|
||||
skip|sk) cmd=skip ;;
|
||||
io) cmd=io ;;
|
||||
cat) cmd=cat ;;
|
||||
copy|cp) cmd=copy ;;
|
||||
vim|edit|e) cmd=edit ;;
|
||||
open|o) cmd=open ;;
|
||||
list|l|ls) cmd=list ;;
|
||||
|
||||
Reference in New Issue
Block a user