File tree Expand file tree Collapse file tree 2 files changed +12
-20
lines changed
internal/docs/generated/rpkgdocs
site/reference/cli/alpha/rpkg/copy Expand file tree Collapse file tree 2 files changed +12
-20
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ revision.
19
19
<!-- mdtogo:Long-->
20
20
21
21
```
22
- kpt alpha rpkg copy SOURCE_PACKAGE_REV_NAME TARGET_PACKAGE_NAME [flags]
22
+ kpt alpha rpkg copy SOURCE_PACKAGE_REV_NAME [flags]
23
23
```
24
24
25
25
#### Args
@@ -28,19 +28,15 @@ kpt alpha rpkg copy SOURCE_PACKAGE_REV_NAME TARGET_PACKAGE_NAME [flags]
28
28
SOURCE_PACKAGE_REV_NAME:
29
29
The name of the package revision that will be used as the source
30
30
for creating a new package revision.
31
-
32
- TARGET_PACKAGE_NAME:
33
- The name of the new package.
34
31
```
35
32
36
33
#### Flags
37
34
38
35
```
39
- --repository
40
- Repository in which the new package revision will be created.
41
-
42
36
--revision
43
- Revision for the new package.
37
+ Revision for the new package. If this is not specified, the default
38
+ revision will be `latest + 1`. The default can only be used if the
39
+ latest package revision is of the format `^v[0-9]+$`.
44
40
```
45
41
46
42
<!-- mdtogo-->
@@ -50,8 +46,8 @@ TARGET_PACKAGE_NAME:
50
46
<!-- mdtogo:Examples-->
51
47
52
48
``` shell
53
- # create a new package foo from package blueprint-b47eadc99f3c525571d3834cc61b974453bc6be2
54
- $ kpt alpha rpkg copy blueprint-b47eadc99f3c525571d3834cc61b974453bc6be2 foo --repository=blueprint --revision=v10 --namespace=default
49
+ # create a new package from package blueprint-b47eadc99f3c525571d3834cc61b974453bc6be2
50
+ $ kpt alpha rpkg copy blueprint-b47eadc99f3c525571d3834cc61b974453bc6be2 --revision=v10 --namespace=default
55
51
```
56
52
57
53
<!-- mdtogo-->
You can’t perform that action at this time.
0 commit comments