make default appfile as vela.yaml

This commit is contained in:
Hongchao Deng
2020-10-25 19:34:28 -07:00
parent 037f14806a
commit 192f435cfc
5 changed files with 4 additions and 4 deletions

View File

@@ -278,7 +278,7 @@ Here is the takeout:
### `vela up`
The vela-cli will have an `up` command to provide seamless workflow experience. Provide an `vela.yml` Appfile in the same directory that you will run `vela up` and it is good to go. There is an example under `examples/testapp/` .
The vela-cli will have an `up` command to provide seamless workflow experience. Provide an `vela.yaml` Appfile in the same directory that you will run `vela up` and it is good to go. There is an example under `examples/testapp/` .
## Examples

View File

@@ -4,7 +4,7 @@ Apply an appfile
### Synopsis
Apply an appfile, by default vela.yml
Apply an appfile, by default vela.yaml
```
vela up

View File

@@ -17,7 +17,7 @@ var (
ErrImageNotDefined = errors.New("image not defined")
)
const DefaultAppfilePath = "./vela.yml"
const DefaultAppfilePath = "./vela.yaml"
type AppFile struct {
Name string `json:"name"`

View File

@@ -34,7 +34,7 @@ func NewUpCommand(c types.Args, ioStream cmdutil.IOStreams) *cobra.Command {
Use: "up",
DisableFlagsInUseLine: true,
Short: "Apply an appfile",
Long: "Apply an appfile, by default vela.yml",
Long: "Apply an appfile, by default vela.yaml",
Annotations: map[string]string{
types.TagCommandType: types.TypeStart,
},