mirror of
https://github.com/kubevela/kubevela.git
synced 2026-07-28 18:01:24 +00:00
make default appfile as vela.yaml
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ Apply an appfile
|
||||
|
||||
### Synopsis
|
||||
|
||||
Apply an appfile, by default vela.yml
|
||||
Apply an appfile, by default vela.yaml
|
||||
|
||||
```
|
||||
vela up
|
||||
|
||||
@@ -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"`
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user