Application directory is optional
@@ -33,13 +33,15 @@ func init() {
}
var deployCmd = &cobra.Command{
- Use: "deploy <application-directory>",
+ Use: "deploy [<application-directory>]",
Short: "Deploy (prepare and activate) an application package",
Long: `Deploy (prepare and activate) an application package.
When this returns successfully the application package has been validated
and activated on config servers. The process of applying it on individual nodes
-has started but may not have completed.`,
+has started but may not have completed.
+
+If application directory is not specified, it defaults to working directory.`,
Example: "$ vespa deploy .",
Args: cobra.MaximumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
