opentofu/internal/command
krishna sindhur 6a385c3cbc
Read state refactor (#3706)
Signed-off-by: KrishnaSindhur <krishna.sindhur@harness.io>
Signed-off-by: krishna sindhur <krishna.sindhur@harness.io>
2026-03-19 17:03:16 +02:00
..
arguments Refactor state rm command to use View instead of Ui and to use the arguments package (#3849) 2026-03-10 17:54:01 +02:00
cliconfig command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
clistate Read state refactor (#3706) 2026-03-19 17:03:16 +02:00
e2etest command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
flags command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
format command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
jsonchecks Feature branch: Ephemeral resources (#2852) 2025-08-04 16:39:12 +03:00
jsonconfig fix: Prevent nil panic in marshalProviderConfigs when inSingleModuleMode (#3294) 2025-09-22 13:40:48 +01:00
jsonentities Retaining resource during destruction - action and reason marshalling extension (#3569) 2025-12-12 15:16:54 +04:00
jsonformat command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
jsonplan Retaining resource during destruction - action and reason marshalling extension (#3569) 2025-12-12 15:16:54 +04:00
jsonprovider Ephemeral write only attributes (#3171) 2025-09-10 07:45:23 -04:00
jsonstate Feature branch: Ephemeral resources (#2852) 2025-08-04 16:39:12 +03:00
testdata configs: New-style core version constraints, etc 2026-03-18 09:09:50 -07:00
testing Ephemeral todos handling (#3177) 2025-09-10 07:45:23 -04:00
views command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
webbrowser main: Honor the BROWSER environment variable on Unix systems 2025-11-03 11:27:13 -08:00
workdir -chdir unification with the workdir logic. Removal of workdir proxy methods from Meta (#3713) 2026-02-10 15:31:06 +02:00
alias.go Add new CLI arg to control what warnings should be shown for deprecated outputs/variables (#2705) 2025-05-08 17:01:40 +03:00
apply.go Move all implementation of flag.Value in one package (#3725) 2026-02-10 16:26:09 +02:00
apply_destroy_test.go -chdir unification with the workdir logic. Removal of workdir proxy methods from Meta (#3713) 2026-02-10 15:31:06 +02:00
apply_test.go command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
autocomplete.go backend: Backend.Workspaces takes context.Context 2025-05-07 14:14:34 -07:00
autocomplete_test.go -chdir unification with the workdir logic. Removal of workdir proxy methods from Meta (#3713) 2026-02-10 15:31:06 +02:00
cli_ui.go Refactor init command to use View instead of Ui (#3749) 2026-02-11 16:29:31 +02:00
cli_ui_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
command.go Refactor console command to use View instead of Ui (#3764) 2026-03-02 18:58:11 +02:00
command_test.go Read state refactor (#3706) 2026-03-19 17:03:16 +02:00
console.go Use the arguments already configured ViewOptions (#3836) 2026-03-05 15:33:15 +02:00
console_interactive.go Refactor console command to use View instead of Ui (#3764) 2026-03-02 18:58:11 +02:00
console_interactive_test.go Refactor console command to use View instead of Ui (#3764) 2026-03-02 18:58:11 +02:00
console_state.go Implement the first part of RFC 20250303-linter-policy (#2577) 2025-03-10 13:16:27 -04:00
console_state_test.go Adds multi line support to console (#1875) 2024-08-02 10:21:44 +01:00
console_test.go Refactor console command to use View instead of Ui (#3764) 2026-03-02 18:58:11 +02:00
fmt.go Refactor fmt command to use View instead of Ui and to use the arguments package (#3805) 2026-03-05 14:47:37 +02:00
fmt_test.go Refactor fmt command to use View instead of Ui and to use the arguments package (#3805) 2026-03-05 14:47:37 +02:00
get.go Refactor get command to use View instead of Ui (#3752) 2026-02-24 10:07:28 +02:00
get_test.go Refactor get command to use View instead of Ui (#3752) 2026-02-24 10:07:28 +02:00
graph.go Use the arguments already configured ViewOptions (#3836) 2026-03-05 15:33:15 +02:00
graph_test.go Refactor graph command to use View instead of Ui and to use the arguments package (#3802) 2026-03-04 15:21:37 +02:00
helper.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
hook_module_install.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
import.go Refactor import command to use View instead of Ui and to use the arguments package (#3772) 2026-03-06 15:11:57 +02:00
import_test.go Refactor import command to use View instead of Ui and to use the arguments package (#3772) 2026-03-06 15:11:57 +02:00
init.go configs: New-style core version constraints, etc 2026-03-18 09:09:50 -07:00
init_test.go configs: New-style core version constraints, etc 2026-03-18 09:09:50 -07:00
login.go command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
login_test.go command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
logout.go Refactor logout command to use View instead of Ui (#3761) 2026-02-24 10:05:54 +02:00
logout_test.go Refactor logout command to use View instead of Ui (#3761) 2026-02-24 10:05:54 +02:00
meta.go Read state refactor (#3706) 2026-03-19 17:03:16 +02:00
meta_backend.go Read state refactor (#3706) 2026-03-19 17:03:16 +02:00
meta_backend_migrate.go command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
meta_backend_migrate_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
meta_backend_test.go Refactor console command to use View instead of Ui (#3764) 2026-03-02 18:58:11 +02:00
meta_config.go Move all implementation of flag.Value in one package (#3725) 2026-02-10 16:26:09 +02:00
meta_dependencies.go command: Only shim dependency lock file for installation actions 2025-07-01 07:44:47 -07:00
meta_encryption.go tofu: EvalContext expression evaluation takes context.Context (#2937) 2025-06-19 10:46:31 +01:00
meta_new.go Initial wiring of encryption through the command package (#1316) 2024-03-07 08:55:57 -05:00
meta_providers.go command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
meta_test.go Refactor console command to use View instead of Ui (#3764) 2026-03-02 18:58:11 +02:00
meta_vars.go Adds prompt for missing static variables (#2047) 2024-10-07 18:30:42 +01:00
meta_vars_test.go -chdir unification with the workdir logic. Removal of workdir proxy methods from Meta (#3713) 2026-02-10 15:31:06 +02:00
metadata_command.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
metadata_functions.go Refactor version command to use View instead of Ui and to use the arguments package (#3806) 2026-03-05 14:47:29 +02:00
metadata_functions_test.go Refactor version command to use View instead of Ui and to use the arguments package (#3806) 2026-03-05 14:47:29 +02:00
output.go Move all implementation of flag.Value in one package (#3725) 2026-02-10 16:26:09 +02:00
output_test.go Refactor console command to use View instead of Ui (#3764) 2026-03-02 18:58:11 +02:00
plan.go Move all implementation of flag.Value in one package (#3725) 2026-02-10 16:26:09 +02:00
plan_test.go Refactor console command to use View instead of Ui (#3764) 2026-03-02 18:58:11 +02:00
plugins.go command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
plugins_test.go -chdir unification with the workdir logic. Removal of workdir proxy methods from Meta (#3713) 2026-02-10 15:31:06 +02:00
providers.go Refactor providers command to use View instead of Ui and to use the arguments package (#3811) 2026-03-05 09:49:15 +02:00
providers_lock.go Refactor providers lock command to use View instead of Ui and to use the arguments package (#3812) 2026-03-05 09:49:36 +02:00
providers_lock_test.go Refactor providers lock command to use View instead of Ui and to use the arguments package (#3812) 2026-03-05 09:49:36 +02:00
providers_mirror.go Refactor providers mirror command to use View instead of Ui and to use the arguments package (#3813) 2026-03-04 15:20:39 +02:00
providers_mirror_test.go Refactor providers mirror command to use View instead of Ui and to use the arguments package (#3813) 2026-03-04 15:20:39 +02:00
providers_schema.go Support dual output streams in most commands (#3606) 2026-01-20 14:08:10 -05:00
providers_schema_test.go command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
providers_test.go Refactor providers command to use View instead of Ui and to use the arguments package (#3811) 2026-03-05 09:49:15 +02:00
push.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
refresh.go Move all implementation of flag.Value in one package (#3725) 2026-02-10 16:26:09 +02:00
refresh_test.go -chdir unification with the workdir logic. Removal of workdir proxy methods from Meta (#3713) 2026-02-10 15:31:06 +02:00
show.go Move all implementation of flag.Value in one package (#3725) 2026-02-10 16:26:09 +02:00
show_test.go command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
state_command.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
state_list.go Refactor state list command to use View instead of Ui and to use the arguments package (#3828) 2026-03-04 15:20:06 +02:00
state_list_test.go Refactor state list command to use View instead of Ui and to use the arguments package (#3828) 2026-03-04 15:20:06 +02:00
state_meta.go backend: Backend.StateMgr takes context.Context 2025-05-07 14:14:34 -07:00
state_mv.go Refactor state mv command to use View instead of Ui and to use the arguments package (#3835) 2026-03-06 15:22:52 +02:00
state_mv_test.go Refactor state mv command to use View instead of Ui and to use the arguments package (#3835) 2026-03-06 15:22:52 +02:00
state_pull.go Refactor state pull command to use View instead of Ui and to use the arguments package (#3837) 2026-03-09 12:25:18 +02:00
state_pull_test.go Refactor state pull command to use View instead of Ui and to use the arguments package (#3837) 2026-03-09 12:25:18 +02:00
state_push.go Refactor state push command to use View instead of Ui and to use the arguments package (#3842) 2026-03-09 13:00:30 +02:00
state_push_test.go Refactor state push command to use View instead of Ui and to use the arguments package (#3842) 2026-03-09 13:00:30 +02:00
state_replace_provider.go Refactor state replace-provider command to use View instead of Ui and to use the arguments package (#3844) 2026-03-10 17:01:58 +02:00
state_replace_provider_test.go Refactor state replace-provider command to use View instead of Ui and to use the arguments package (#3844) 2026-03-10 17:01:58 +02:00
state_rm.go Refactor state rm command to use View instead of Ui and to use the arguments package (#3849) 2026-03-10 17:54:01 +02:00
state_rm_test.go Refactor state rm command to use View instead of Ui and to use the arguments package (#3849) 2026-03-10 17:54:01 +02:00
state_show.go Support dual output streams in most commands (#3606) 2026-01-20 14:08:10 -05:00
state_show_test.go -chdir unification with the workdir logic. Removal of workdir proxy methods from Meta (#3713) 2026-02-10 15:31:06 +02:00
state_test.go -chdir unification with the workdir logic. Removal of workdir proxy methods from Meta (#3713) 2026-02-10 15:31:06 +02:00
taint.go Use the arguments already configured ViewOptions (#3836) 2026-03-05 15:33:15 +02:00
taint_test.go Refactor taint && untaint commands to use View instead of Ui and to use the arguments package (#3818) 2026-03-05 09:50:36 +02:00
test.go command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
test_test.go Refactor init command to use View instead of Ui (#3749) 2026-02-11 16:29:31 +02:00
ui_input.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
ui_input_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
unlock.go Refactor unlock command to use View instead of Ui and to use the arguments package (#3823) 2026-03-04 15:20:19 +02:00
unlock_test.go Refactor unlock command to use View instead of Ui and to use the arguments package (#3823) 2026-03-04 15:20:19 +02:00
untaint.go Use the arguments already configured ViewOptions (#3836) 2026-03-05 15:33:15 +02:00
untaint_test.go Refactor taint && untaint commands to use View instead of Ui and to use the arguments package (#3818) 2026-03-05 09:50:36 +02:00
validate.go Move all implementation of flag.Value in one package (#3725) 2026-02-10 16:26:09 +02:00
validate_test.go command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
version.go Refactor version command to use View instead of Ui and to use the arguments package (#3806) 2026-03-05 14:47:29 +02:00
version_test.go Refactor version command to use View instead of Ui and to use the arguments package (#3806) 2026-03-05 14:47:29 +02:00
workspace_command.go Refactor all workspace commands to use View instead of Ui (#3770) 2026-03-03 12:44:56 +02:00
workspace_command_test.go Read state refactor (#3706) 2026-03-19 17:03:16 +02:00
workspace_delete.go command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
workspace_list.go Refactor all workspace commands to use View instead of Ui (#3770) 2026-03-03 12:44:56 +02:00
workspace_new.go command: "go fix" on various files we've changed recently anyway 2026-03-17 15:25:30 -07:00
workspace_select.go Refactor all workspace commands to use View instead of Ui (#3770) 2026-03-03 12:44:56 +02:00
workspace_show.go Refactor all workspace commands to use View instead of Ui (#3770) 2026-03-03 12:44:56 +02:00