-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Description
The elastic-package command elastic-package profile create has no reference in the help to a required argument profile-name
Help output
➜ elastic-package profiles create --help
could not determine benchmark reports folder: locating build directory failed: can't create new build directory: package can be only built inside of a Git repository (.git folder is used as reference point)2023/05/04 13:45:21 WARN CommitHash is undefined, in both ~/.elastic-package/version and the compiled binary, config may be out of date.
Create a new profile
Usage:
elastic-package profiles create [flags]
Flags:
--from string copy profile from the specified existing profile
-h, --help help for create
Global Flags:
-v, --verbose verbose modeSo when I try to run the command without that required parameter it fails with the following error without saying what is the name of the required argument or how to fix the error.
❯ elastic-package profiles create --from default -v
could not determine benchmark reports folder: locating build directory failed: can't create new build directory: package can be only built inside of a Git repository (.git folder is used as reference point)2023/05/04 13:24:51 WARN CommitHash is undefined, in both ~/.elastic-package/version and the compiled binary, config may be out of date.
2023/05/04 13:24:51 DEBUG Enable verbose logging
Error: create requires an argumentThis is the version that I am using
➜ elastic-package version
could not determine benchmark reports folder: locating build directory failed: can't create new build directory: package can be only built inside of a Git repository (.git folder is used as reference point)2023/05/04 13:59:43 WARN CommitHash is undefined, in both ~/.elastic-package/version and the compiled binary, config may be out of date.
elastic-package v0.79.0 version-hash undefined (build time: unknown)Metadata
Metadata
Assignees
Labels
No labels