terraform/internal/command/arguments
Sarah French e24abdf6ff
refactor: Update workspace select and delete subcommands to use the arguments package for parsing arguments and flags (#38429)
* feat: Add `workspace show`-related code to arguments package

* refactor: Update `workspace show` to use the arguments package when parsing arguments

* refactor: Split code for workspace subcommands into separate files in arguments package

* refactor: Move code common to all workspace commands into separate file in arguments package

* feat: Add `workspace delete`-related code to arguments package

* refactor: Update `workspace delete` to use the arguments package when parsing arguments
2026-04-29 08:05:49 -04:00
..
apply.go make copyrightfix 2026-02-17 13:56:34 +00:00
apply_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
console.go refactor console command to use arguments 2026-02-18 12:47:12 +01:00
console_test.go refactor console command to use arguments 2026-02-18 12:47:12 +01:00
default.go make copyrightfix 2026-02-17 13:56:34 +00:00
extended.go move vars handling into own file 2026-02-18 12:47:12 +01:00
flags.go make copyrightfix 2026-02-17 13:56:34 +00:00
get.go command: Add vars to get command (and refactor it) 2026-03-17 16:41:28 +01:00
get_test.go command: Add vars to get command (and refactor it) 2026-03-17 16:41:28 +01:00
graph.go command: Add vars to graph command 2026-03-17 16:41:28 +01:00
graph_test.go command: Add vars to graph command 2026-03-17 16:41:28 +01:00
import.go update copyright headers 2026-02-17 15:56:24 +01:00
import_test.go update copyright headers 2026-02-17 15:56:24 +01:00
init.go PSS: Remove automatic creation of the default workspace's state file during init (#38281) 2026-03-19 15:47:29 +00:00
init_test.go PSS: Remove automatic creation of the default workspace's state file during init (#38281) 2026-03-19 15:47:29 +00:00
modules.go command: Add vars to modules command 2026-03-17 16:41:28 +01:00
modules_test.go command: Add vars to modules command 2026-03-17 16:41:28 +01:00
output.go make copyrightfix 2026-02-17 13:56:34 +00:00
output_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
plan.go make copyrightfix 2026-02-17 13:56:34 +00:00
plan_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
providers.go command: Add vars to providers command 2026-03-17 16:41:28 +01:00
providers_lock.go command: Add vars to pvoiders lock command 2026-03-17 16:41:28 +01:00
providers_lock_test.go command: Add vars to pvoiders lock command 2026-03-17 16:41:28 +01:00
providers_mirror.go command: Add vars to providers mirror command 2026-03-17 16:41:28 +01:00
providers_mirror_test.go command: Add vars to providers mirror command 2026-03-17 16:41:28 +01:00
providers_schema.go command: Add vars to providers schema command 2026-03-17 16:41:28 +01:00
providers_schema_test.go command: Add vars to providers schema command 2026-03-17 16:41:28 +01:00
providers_test.go command: Add vars to providers command 2026-03-17 16:41:28 +01:00
query.go make copyrightfix 2026-02-17 13:56:34 +00:00
refresh.go make copyrightfix 2026-02-17 13:56:34 +00:00
refresh_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
show.go Fix import and show command 2026-03-04 11:45:59 +01:00
show_test.go Fix import and show command 2026-03-04 11:45:59 +01:00
state_list.go update copyright headers 2026-02-17 15:56:24 +01:00
state_list_test.go update copyright headers 2026-02-17 15:56:24 +01:00
state_migrate.go command: Implement skeleton for state migrate (#38435) 2026-04-27 16:39:02 +01:00
state_migrate_test.go command: Implement skeleton for state migrate (#38435) 2026-04-27 16:39:02 +01:00
state_mv.go command: Add vars to state mv command 2026-03-17 16:41:28 +01:00
state_mv_test.go command: Add vars to state mv command 2026-03-17 16:41:28 +01:00
state_pull.go command: Add vars to state pull command 2026-03-17 16:41:28 +01:00
state_pull_test.go command: Add vars to state pull command 2026-03-17 16:41:28 +01:00
state_push.go command: Add vars to state push command 2026-03-17 16:41:28 +01:00
state_push_test.go command: Add vars to state push command 2026-03-17 16:41:28 +01:00
state_replace_provider.go command: Add vars to state replace command 2026-03-17 16:41:28 +01:00
state_replace_provider_test.go command: Add vars to state replace command 2026-03-17 16:41:28 +01:00
state_rm.go command: Add vars to state rm command 2026-03-17 16:41:28 +01:00
state_rm_test.go command: Add vars to state rm command 2026-03-17 16:41:28 +01:00
state_show.go feat(cli): add -json flag for state show (#38341) 2026-04-14 09:33:23 -04:00
state_show_test.go feat(cli): add -json flag for state show (#38341) 2026-04-14 09:33:23 -04:00
taint.go command: Add vars to taint command 2026-03-17 16:41:28 +01:00
taint_test.go command: Add vars to taint command 2026-03-17 16:41:28 +01:00
test.go make copyrightfix 2026-02-17 13:56:34 +00:00
test_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
types.go make copyrightfix 2026-02-17 13:56:34 +00:00
untaint.go update copyright headers 2026-02-17 15:56:24 +01:00
untaint_test.go update copyright headers 2026-02-17 15:56:24 +01:00
validate.go command: Add vars to validate command 2026-03-17 16:41:28 +01:00
validate_test.go command: Add vars to validate command 2026-03-17 16:41:28 +01:00
vars.go refactor addVarsFromFile to use return value 2026-02-18 12:47:12 +01:00
view.go make copyrightfix 2026-02-17 13:56:34 +00:00
view_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
workspace.go refactor: Update workspace select and delete subcommands to use the arguments package for parsing arguments and flags (#38429) 2026-04-29 08:05:49 -04:00
workspace_delete.go refactor: Update workspace select and delete subcommands to use the arguments package for parsing arguments and flags (#38429) 2026-04-29 08:05:49 -04:00
workspace_delete_test.go refactor: Update workspace select and delete subcommands to use the arguments package for parsing arguments and flags (#38429) 2026-04-29 08:05:49 -04:00
workspace_list.go refactor: Update workspace select and delete subcommands to use the arguments package for parsing arguments and flags (#38429) 2026-04-29 08:05:49 -04:00
workspace_list_test.go refactor: Update workspace select and delete subcommands to use the arguments package for parsing arguments and flags (#38429) 2026-04-29 08:05:49 -04:00
workspace_show.go refactor: Update workspace select and delete subcommands to use the arguments package for parsing arguments and flags (#38429) 2026-04-29 08:05:49 -04:00
workspace_show_test.go refactor: Update workspace select and delete subcommands to use the arguments package for parsing arguments and flags (#38429) 2026-04-29 08:05:49 -04:00