Mitchell Hashimoto
4c09aac149
packer: send error output to stdout for now
2014-02-21 20:14:51 -08:00
Mitchell Hashimoto
f3494fc77a
fmt
2014-02-21 20:02:55 -08:00
Mitchell Hashimoto
e2e4c9f671
packer: errors go to stderr [GH-868]
2014-02-21 18:29:15 -08:00
Mitchell Hashimoto
3857822ef2
packer: don't crash if arg is empty [GH-832]
2014-01-19 15:19:10 -08:00
Mitchell Hashimoto
df48c6253c
packer: Parallelize synopsis lookup to speed up help output
...
Using `time` to calculate the average of 100 iterations on my machine,
`packer` went from 130ms on average to 70ms.
Previously, the load time would scale linearly about 30ms (on my
machine) on average per new command added. Now that is much much
smaller.
2013-08-13 10:16:25 -07:00
Mitchell Hashimoto
476066108f
packer: get rid of unused code
2013-08-13 09:56:37 -07:00
Mitchell Hashimoto
da6bc82d5c
packer: unknown commands show better on UI
2013-08-13 09:07:08 -07:00
Mitchell Hashimoto
547d184855
packer: machine readable output for available commands
2013-08-12 09:22:01 -07:00
Mitchell Hashimoto
a675b89b0e
packer: -machine-readable not double hyphen
2013-08-11 23:26:24 -07:00
Mitchell Hashimoto
b3e8a41954
packer: document machine-readable
2013-08-11 23:24:57 -07:00
Mitchell Hashimoto
02edc7579b
packer: Rename ReaderWriterUi to BasicUi
2013-08-11 18:20:27 -07:00
Mitchell Hashimoto
eee22b32f6
packer: Environment can look up post processors
2013-06-18 09:49:05 -07:00
Mitchell Hashimoto
e0f2bcf8a2
packer: Add "Ask" method to Ui to ask for input
2013-06-14 15:17:03 -07:00
Mitchell Hashimoto
f2c8b994a0
packer: Default cache is just to os temporary dir
2013-06-09 21:18:06 -07:00
Mitchell Hashimoto
edaf19199f
packer: Environment has Cache method, RPC implements
2013-06-09 21:09:09 -07:00
Mitchell Hashimoto
74d812a766
packer: Much smarter CLI
2013-06-02 15:03:02 -07:00
Mitchell Hashimoto
aa1304f860
packer: Print command help if "--help" is given
2013-06-02 11:49:01 -07:00
Mitchell Hashimoto
45c590f413
packer: Fix help output for packer, excessive newlines
2013-06-01 19:15:32 -07:00
Mitchell Hashimoto
2788d29bd1
packer, packer/rpc: Update Ui to just take a message
2013-05-27 15:12:48 -07:00
Mitchell Hashimoto
11d46a3a2c
packer: ProvisionerFunc
2013-05-22 15:39:30 -07:00
Mitchell Hashimoto
15f215d04f
go fmt
2013-05-20 16:50:35 -07:00
Mitchell Hashimoto
8ed313e7b5
packer: Add concept of hooks to Environment
2013-05-10 23:15:13 -07:00
Mitchell Hashimoto
44bd56c3a8
go fmt
2013-05-10 17:01:24 -07:00
Mitchell Hashimoto
de03e97643
packer: More comments/docs
2013-05-10 16:41:35 -07:00
Mitchell Hashimoto
8ffbc2efe7
packer: Start pulling out the global config stuff
2013-05-08 17:28:05 -07:00
Mitchell Hashimoto
fd2d8480e1
Lots more logging everywhere
2013-05-08 16:59:36 -07:00
Mitchell Hashimoto
947209a028
packer: PACKER_LOG to toggle logging from an env var [GH-3]
2013-05-08 14:45:17 -07:00
Mitchell Hashimoto
869732826b
packer, packer/rpc: Make command/builderFunc support errors
2013-05-07 20:42:49 -07:00
Mitchell Hashimoto
86f1fbe925
packer/rpc: Support the new Builder func on Environment
2013-05-05 15:12:55 -07:00
Mitchell Hashimoto
14c568a9d2
Get rid of BuilderFactory
2013-05-05 14:47:17 -07:00
Mitchell Hashimoto
520503e10c
Turn Environment into an interface
2013-05-02 14:03:55 -07:00
Mitchell Hashimoto
fefd2ae208
Separate commands into other directories
2013-04-21 19:04:35 -07:00
Mitchell Hashimoto
f49c0cb313
Pull out Command interface out into separate file
2013-04-21 18:45:44 -07:00
Mitchell Hashimoto
05e254a2ff
BuilderFactory getter on Environment
2013-04-20 19:31:42 -06:00
Mitchell Hashimoto
f4ea172178
NilBuilderFactory
2013-04-20 19:08:10 -06:00
Mitchell Hashimoto
116442510b
Require configuration to create Environment
2013-04-20 19:00:03 -06:00
Mitchell Hashimoto
0de922d14a
Make environment config export variables
2013-04-20 18:08:43 -06:00
Mitchell Hashimoto
37bd1cd308
Test setting the UI for tests
2013-04-15 20:26:38 -07:00
Mitchell Hashimoto
4eb8ac80c2
Ability to get a builder from the env
2013-04-15 19:53:29 -07:00
Mitchell Hashimoto
49256895cc
CLI calls should slice the first arg out before running
2013-04-15 15:03:41 -07:00
Mitchell Hashimoto
8c5b695de7
Initial build command
2013-04-15 14:36:23 -07:00
Mitchell Hashimoto
bde32e964f
Alphabetize
2013-03-24 16:41:58 -07:00
Mitchell Hashimoto
b25bf0c0c9
Format
2013-03-24 16:36:02 -07:00
Mitchell Hashimoto
f6919cf18b
Short-circuit -h and --help to printing help for the top-level cmd
2013-03-24 16:35:33 -07:00
Mitchell Hashimoto
4d10489f51
Implement the help method
2013-03-24 16:28:35 -07:00
Mitchell Hashimoto
91c524c7ec
More environment testing
2013-03-24 14:47:59 -07:00
Mitchell Hashimoto
db1c11fff5
Lots of stuff, too early for meaningful commit messages
...
UI, command dispatch
2013-03-24 14:03:53 -07:00