29 Commits

Author SHA1 Message Date
hashicorp-copywrite[bot]
36a312ee26
add missing license headers and update copyright file headers to BUS-1.1 2023-08-10 21:53:25 +01:00
Chris Roberts
2375cbe8a2 Use Command operation in place of Task 2023-06-05 14:18:05 -07:00
sophia
21e9fc3674 Use basic ui if using a non color enabled terminal 2022-09-14 11:42:54 -04:00
sophia
f7cd08b208 Pass terminal output color option from Ruby to terminal plugin 2022-09-14 11:42:52 -04:00
sophia
a718e228a4 Colour go experimental warning 2022-09-14 11:41:30 -04:00
sophia
2f5c185708 Warn users when using vagrant-go 2022-07-28 11:54:27 -05:00
Chris Roberts
1ae72d6283 Use cleanup and log error if encountered 2022-07-25 15:27:30 -07:00
sophia
9ed92d2ab6 Recognize --machine-readable flag 2022-05-31 14:41:34 -05:00
sophia
079975fe2b Add machine readable flag 2022-05-31 10:09:35 -05:00
sophia
4f63043646 Rename --tty flag to --interactive 2022-05-25 16:10:27 -05:00
sophia
d062e03d97 Force all boolean flags to have a negative alias 2022-05-18 15:13:58 -05:00
sophia
887903c0e1 Set aliases for command flags 2022-05-17 14:06:04 -05:00
sophia
584e7d2913 Make flag --no-tty 2022-05-17 14:04:18 -05:00
sophia
108275de21 Set default values for flags 2022-05-16 16:19:40 -05:00
sophia
1b8246c28f Set base command flag data 2022-05-16 14:56:22 -05:00
sophia
df25af809c Use no-tty flag 2022-05-16 13:52:52 -05:00
sophia
26fac3e1d9 Setup noninteractive ui for the base command if the --no-tty falg is provided 2022-05-13 16:49:30 -05:00
sophia
7a999d1f06 Add tty flag and set noninteractive terminal 2022-05-13 13:46:36 -05:00
Paul Hinze
7f56168959
Work around a few global flag collisions for ssh command
* `vagrant ssh` has a --no-tty flag colliding with the one defined in
   `bin/vagrant` - in fact none of the flags in `bin/vagrant` are
   processed in `serve` mode, so remove the code that captures them from
   the CommandInfo OptionParser dance
 * `vagrant ssh` has a `--plain` flag colliding with the one defined in
   `internal/cli/base.go` - this flag was inherited from Waypoint, so we
   can just rename it to line up with the (inversely defined) `--color`
   flag used in legacy vagrant
2022-04-25 12:26:48 -05:00
Chris Roberts
c010ae0429
Update CLI to use internal flags implementation 2022-04-25 12:26:25 -05:00
Chris Roberts
16931138e7
Update git submodule location
Having the modules stored in `./vendor` causes issues with `go mod`.
    Follow waypoint's convention to store in `./thirdparty` and grab
    the same Makefile modifications to alert when the submodules need
    to be initialized. Update generators to use new path.
2022-04-25 12:26:25 -05:00
Chris Roberts
e00f82fdee
Update to use component flags and update parsing 2022-04-25 12:26:22 -05:00
sophia
bb43048813
Remove unused cli config code 2022-04-25 12:26:06 -05:00
Chris Roberts
9caa92a20a
Update command setup to use base client and then load scope
There are still some things left to address like how to handle
a target (or targets) and if that is something we should even
be doing. It may be best to just let the command deal with
target loading. There are also some considerations to make
around remote source.
2022-04-25 12:24:25 -05:00
Chris Roberts
4e28d59806
Temporary updates to force project loading 2022-04-25 12:24:23 -05:00
Chris Roberts
05d5634c83
Host component related work 2022-04-25 12:24:10 -05:00
Chris Roberts
26dbb5bda3
Update naming in log output from machine to target 2022-04-25 12:24:07 -05:00
Chris Roberts
c547fba079
Remove machine from cli and reference only targets 2022-04-25 12:24:06 -05:00
sophia
c3ee750db1
Add gogo 2022-04-25 12:23:57 -05:00