Add usaco cat and copy commands

Co-Authored-By: Claude Code <[email protected]>
This commit is contained in:
2026-09-24 12:51:33 +01:00
co-authored by Claude Code
parent 0b2113f577
commit 26a9c969bd
3 changed files with 24 additions and 0 deletions
+4
View File
@@ -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 ;;