coder/cli
Aaron Lehmann 8a1216254e
feat(cli): add `--env` flag for `coder ssh` (#12991)
This allows environment variables to be set on the SSH session.

Example:

   coder ssh myworkspace --env VAR1=val1,VAR2=val2
2024-04-22 13:13:48 +03:00
..
clilog chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
clistat fix: handle no memory limit in coder stat mem (#11107) 2023-12-08 12:46:53 -05:00
clitest feat(cli): add golden tests for errors (#11588) (#12698) 2024-04-01 09:19:26 -05:00
cliui feat(coderd): add enabled experiments to telemetry (#12656) 2024-03-19 11:05:29 +02:00
cliutil feat(cli): allow specifying name of provisioner daemon (#11077) 2023-12-07 16:59:13 +00:00
config feat: implement organization context in the cli (#12259) 2024-02-26 10:03:49 -06:00
gitauth refactor: split coderd/gitauth into two, add cli/gitauth (#9479) 2023-09-01 15:41:22 +00:00
telemetry refactor(coderd/telemetry): move CLI telemetry to cli/telemetry (#9517) 2023-09-04 21:42:45 +03:00
testdata feat(cli): add `--env` flag for `coder ssh` (#12991) 2024-04-22 13:13:48 +03:00
agent.go feat: support adjusting child proc oom scores (#12655) 2024-04-03 09:42:03 -05:00
agent_internal_test.go fix: Port forward should ignore coder ports (#7645) 2023-05-23 17:14:05 +02:00
agent_test.go chore(codersdk): move all tailscale imports out of `codersdk` (#12735) 2024-03-26 12:44:31 -05:00
autoupdate.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
autoupdate_test.go feat: add cli support for workspace automatic updates (#10438) 2023-11-02 14:41:34 -05:00
configssh.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
configssh_internal_test.go feat: add flag for Windows to create unix compatible filepaths (#8164) 2023-06-22 17:08:12 -05:00
configssh_other.go feat: add flag for Windows to create unix compatible filepaths (#8164) 2023-06-22 17:08:12 -05:00
configssh_test.go chore(codersdk): move all tailscale imports out of `codersdk` (#12735) 2024-03-26 12:44:31 -05:00
configssh_windows.go feat: add flag for Windows to create unix compatible filepaths (#8164) 2023-06-22 17:08:12 -05:00
create.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
create_test.go feat: add support for optional external auth providers (#12021) 2024-02-21 11:18:38 -07:00
delete.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
delete_test.go fix: add postgres triggers to remove deleted users from user_links (#12117) 2024-02-20 13:19:38 -06:00
dotfiles.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
dotfiles_test.go feat(cli): make the dotfiles repository directory configurable (#10377) 2023-10-24 12:00:04 +03:00
errors.go feat(cli): add golden tests for errors (#11588) (#12698) 2024-04-01 09:19:26 -05:00
errors_test.go feat(cli): add golden tests for errors (#11588) (#12698) 2024-04-01 09:19:26 -05:00
exp.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
exp_scaletest.go chore(codersdk): move all tailscale imports out of `codersdk` (#12735) 2024-03-26 12:44:31 -05:00
exp_scaletest_slim.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
exp_scaletest_test.go feat(cli/exp): add target workspace/users to scaletest commands (#11701) 2024-01-19 15:32:46 +00:00
externalauth.go chore: explain GIT_ASKPASS behavior in docs (#12784) 2024-03-28 13:59:03 -05:00
externalauth_test.go chore: explain GIT_ASKPASS behavior in docs (#12784) 2024-03-28 13:59:03 -05:00
favorite.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
favorite_test.go feat(cli): add favorite/unfavorite commands (#11793) 2024-01-24 14:05:39 +00:00
gitaskpass.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
gitaskpass_test.go feat: add `external-auth` cli (#10052) 2023-10-09 23:04:35 +00:00
gitssh.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
gitssh_test.go chore: refactor ResolveAutostart tests to use dbfake (#10603) 2023-11-30 19:33:04 -06:00
help.go fix(cli): show error/hide help for unsupported subcommands (#10760) (#12624) 2024-03-17 22:17:43 -05:00
help.tpl feat(cli): colorize help page (#9589) 2023-09-08 18:21:33 +00:00
list.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
list_test.go chore: refactor ResolveAutostart tests to use dbfake (#10603) 2023-11-30 19:33:04 -06:00
login.go chore: remove middleware to request version and entitlement warnings (#12750) 2024-03-25 15:01:42 -04:00
login_test.go feat(cli): make url optional for login command (#10925) (#12466) 2024-03-11 16:14:19 +02:00
logout.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
logout_test.go chore: remove middleware to request version and entitlement warnings (#12750) 2024-03-25 15:01:42 -04:00
netcheck.go chore(codersdk): move all tailscale imports out of `codersdk` (#12735) 2024-03-26 12:44:31 -05:00
netcheck_test.go chore(codersdk): move all tailscale imports out of `codersdk` (#12735) 2024-03-26 12:44:31 -05:00
open.go fix: use provided username when fetching workspaces (#12955) 2024-04-13 14:39:57 -04:00
open_internal_test.go feat(cli): add `coder open vscode` (#11191) 2024-01-02 20:46:18 +02:00
open_test.go feat(cli): add `coder open vscode` (#11191) 2024-01-02 20:46:18 +02:00
organization.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
organization_test.go fix: handle CLI default organization when none exists in <v2.9.0 coderd (#12594) 2024-03-14 15:11:29 -05:00
organizationmanage.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
parameter.go chore(cli): replace clibase with external `coder/serpent` (#12252) 2024-03-15 11:24:38 -05:00
parameter_internal_test.go feat(cli): provide parameter values via command line (#8898) 2023-08-09 13:00:25 +02:00
parameterresolver.go chore(cli): replace clibase with external `coder/serpent` (#12252) 2024-03-15 11:24:38 -05:00
ping.go fix: use provided username when fetching workspaces (#12955) 2024-04-13 14:39:57 -04:00
ping_test.go feat: show tailnet peer diagnostics after coder ping (#12314) 2024-02-27 22:04:46 +04:00
portforward.go fix: use provided username when fetching workspaces (#12955) 2024-04-13 14:39:57 -04:00
portforward_internal_test.go feat: Support for comma-separation and ranges in port-forward (#4166) 2022-10-03 11:58:43 +03:00
portforward_test.go fix(cli): port-forward: update workspace last_used_at (#12659) 2024-03-20 16:44:12 +00:00
publickey.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
publickey_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
remoteforward.go feat(cli/ssh): allow multiple remote forwards and allow missing local file (#11648) 2024-01-19 15:21:10 +02:00
rename.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
rename_test.go fix: generate new random username to prevent flake (#11501) 2024-01-08 19:09:14 +00:00
resetpassword.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
resetpassword_slim.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
resetpassword_test.go chore(ci): clean up databases after test finishes in CI (#12702) 2024-03-21 14:53:16 +00:00
restart.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
restart_test.go fix: fix cliui prompt styling (#11899) 2024-01-29 13:56:43 -07:00
root.go chore: add validation errors to the cli output (#12814) 2024-04-02 10:02:30 -05:00
root_internal_test.go chore: remove middleware to request version and entitlement warnings (#12750) 2024-03-25 15:01:42 -04:00
root_test.go chore: remove middleware to request version and entitlement warnings (#12750) 2024-03-25 15:01:42 -04:00
schedule.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
schedule_internal_test.go feat: cli: consolidate schedule-related commands (#2402) 2022-06-16 18:24:10 +01:00
schedule_test.go chore: refactor ResolveAutostart tests to use dbfake (#10603) 2023-11-30 19:33:04 -06:00
server.go feat(coderd/database): keep only 1 day of `workspace_agent_stats` after rollup (#12674) 2024-04-22 13:11:50 +03:00
server_createadminuser.go feat: add awsiamrds db auth driver (#12566) 2024-03-20 13:14:43 -04:00
server_createadminuser_test.go chore(ci): clean up databases after test finishes in CI (#12702) 2024-03-21 14:53:16 +00:00
server_internal_test.go chore(cli): replace clibase with external `coder/serpent` (#12252) 2024-03-15 11:24:38 -05:00
server_slim.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
server_test.go feat: expose workspace statuses (with details) as a prometheus metric (#12762) 2024-04-02 09:57:36 +02:00
show.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
show_test.go chore(cli): add linter to detect potential spurious usage of owner user in cli tests (#10133) 2023-10-10 11:14:20 +01:00
signal_unix.go fix: separate signals for passive, active, and forced shutdown (#12358) 2024-03-15 13:16:36 +00:00
signal_windows.go fix: separate signals for passive, active, and forced shutdown (#12358) 2024-03-15 13:16:36 +00:00
speedtest.go fix: use provided username when fetching workspaces (#12955) 2024-04-13 14:39:57 -04:00
speedtest_test.go chore: use dbfake for ssh tests rather than provisionerd (#10812) 2023-11-21 16:22:08 +04:00
ssh.go feat(cli): add `--env` flag for `coder ssh` (#12991) 2024-04-22 13:13:48 +03:00
ssh_internal_test.go fix: ensure ssh cleanup happens on cmd error 2024-03-07 17:26:49 +04:00
ssh_other.go feat(cli): implement ssh remote forward (#8515) 2023-07-20 12:05:39 +02:00
ssh_test.go feat(cli): add `--env` flag for `coder ssh` (#12991) 2024-04-22 13:13:48 +03:00
ssh_windows.go feat(cli): implement ssh remote forward (#8515) 2023-07-20 12:05:39 +02:00
start.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
start_test.go fix: send end of logs when dbfake completes job (#11402) 2024-01-04 15:18:00 +04:00
stat.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
stat_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
state.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
state_test.go fix: parse username/workspace correctly on coder state push --build (#10974) 2023-12-04 09:58:35 +04:00
stop.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
support.go feat(cli): support bundle: show links to docs/admin/healthcheck (#12974) 2024-04-16 16:21:09 +01:00
support_test.go fix(support): correctly rename existing agent connection info, add real netcheck (#12946) 2024-04-12 09:40:04 +01:00
templatecreate.go chore: remove max_ttl from templates (#12644) 2024-03-20 10:37:57 -05:00
templatecreate_test.go chore: remove middleware to request version and entitlement warnings (#12750) 2024-03-25 15:01:42 -04:00
templatedelete.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
templatedelete_test.go chore(cli): add linter to detect potential spurious usage of owner user in cli tests (#10133) 2023-10-10 11:14:20 +01:00
templateedit.go chore: remove max_ttl from templates (#12644) 2024-03-20 10:37:57 -05:00
templateedit_test.go chore: remove max_ttl from templates (#12644) 2024-03-20 10:37:57 -05:00
templateinit.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
templateinit_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
templatelist.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
templatelist_test.go chore: ensure default org always exists (#12412) 2024-03-05 14:06:35 -06:00
templatepull.go chore: remove unnecessary extraction library (#12847) 2024-04-02 11:19:54 -04:00
templatepull_test.go chore: remove unnecessary extraction library (#12847) 2024-04-02 11:19:54 -04:00
templatepush.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
templatepush_test.go chore: deprecate template create command in favor of template push (#11390) 2024-01-05 21:04:14 +00:00
templates.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
templatevariables.go feat: load variables from tfvars files (#11549) 2024-01-12 15:08:23 +01:00
templatevariables_test.go feat: load variables from tfvars files (#11549) 2024-01-12 15:08:23 +01:00
templateversionarchive.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
templateversionarchive_test.go feat: archive template versions to hide them from the ui (#10179) 2023-10-11 09:26:22 -05:00
templateversions.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
templateversions_test.go chore(cli): add linter to detect potential spurious usage of owner user in cli tests (#10133) 2023-10-10 11:14:20 +01:00
tokens.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
tokens_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
update.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
update_test.go feat: allow number options with monotonic validation (#12726) 2024-03-27 08:54:42 +00:00
user_delete_test.go fix: add requester IP to workspace build audit logs (#10242) 2023-10-18 15:08:02 -05:00
usercreate.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
usercreate_test.go chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
userdelete.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
userlist.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
userlist_test.go chore: remove middleware to request version and entitlement warnings (#12750) 2024-03-25 15:01:42 -04:00
users.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
userstatus.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
userstatus_test.go chore(cli): add linter to detect potential spurious usage of owner user in cli tests (#10133) 2023-10-10 11:14:20 +01:00
util.go chore(cli): replace clibase with external `coder/serpent` (#12252) 2024-03-15 11:24:38 -05:00
util_internal_test.go feat: cli: consolidate schedule-related commands (#2402) 2022-06-16 18:24:10 +01:00
version.go chore(cli): rename Cmd to Command (#12616) 2024-03-17 09:45:26 -05:00
version_test.go chore(cli): replace lipgloss with coder/pretty (#9564) 2023-09-07 16:28:22 -05:00
vscodessh.go fix: use provided username when fetching workspaces (#12955) 2024-04-13 14:39:57 -04:00
vscodessh_test.go chore: use dbfake for ssh tests rather than provisionerd (#10812) 2023-11-21 16:22:08 +04:00