Skip to content

Conversation

@TimPietruskyRunPod
Copy link
Member

summary

complete refactor of cli structure and command organization.

changes

  • rename module from runpodctl to runpod and binary to runpod
  • change command structure from verb-noun to noun-verb pattern
  • add new resource command groups: serverless, template, volume, registry
  • add legacy command support for backward compatibility
  • create internal api layer with rest client and resource methods
  • add output formatting support (json/yaml/table)
  • enhance ssh key management and commands
  • update dependencies (cobra v1.8.1, viper v1.19.0)
  • update documentation and add agents.md for ai tooling
  • remove deprecated test files and consolidate version handling

breaking changes

  • binary renamed from runpodctl to runpod
  • command syntax changed from verb-noun (get pod) to noun-verb (pod get)
  • legacy commands deprecated but still supported with warnings

…urce groups

- rename module from runpodctl to runpod and binary to runpod
- change command structure from verb-noun to noun-verb pattern
- add new resource command groups: serverless, template, volume, registry
- add legacy command support for backward compatibility
- create internal api layer with rest client and resource methods
- add output formatting support (json/yaml/table)
- enhance ssh key management and commands
- update dependencies (cobra v1.8.1, viper v1.19.0)
- update documentation and add agents.md for ai tooling
- remove deprecated test files and consolidate version handling
@TimPietruskyRunPod TimPietruskyRunPod changed the title refactor(cli): restructure commands to noun-verb pattern and add resource groups feat: refactor the whole runpodctl into a cli which can be used by agents Feb 1, 2026
- rename volume command to network-volume with alias 'nv'
- remove table output format, keep only json and yaml
- hide deprecated project command
- update help text and command descriptions
- simplify api test responses to use direct arrays
- update all tests to reflect command rename and output changes
- add user command to show account info and balance (alias: me, account)
- add gpu command to list available gpu types
- add datacenter command to list datacenters (alias: dc)
- add billing command with subcommands for pods, serverless, network-volume
- add doctor command to diagnose and fix cli configuration issues
- add pod restart and reset commands
- refactor legacy commands to use actual commands with deprecation warnings
- improve config handling with explicit viper value setting
- update error messages to guide users to doctor command
- deprecate config command in favor of doctor
- update default ssh key name to RunPod-Key-Go
- add comprehensive e2e tests for all new commands
- update root help text with getting started instructions
- add completion command that auto-detects shell (bash, zsh, fish, powershell)
- automatically install completion to appropriate config files
- disable default cobra completion command
- add hidden generate subcommand for advanced usage
- register completion and update commands in root
- update comment formatting in update command
- update root help text to mention runpod v2 (formerly runpodctl)
- update version template to include formerly runpodctl note
- update version command output to clarify migration from runpodctl
- add template search command to search by name or image
- add --type flag to filter templates (official, community, user)
- add --limit and --offset flags for pagination
- add --all flag to include user templates
- update list command with smart defaults (show all for official/user, limit for community)
- add graphql support for fetching official and community templates
- enhance gettemplate to try rest api first, fallback to graphql
- add template type constants and list options struct
- add comprehensive e2e tests for filtering and pagination
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants