Please do not post any internal, closed source snippets on this public issue tracker!
Description
sysl import --input=simple-api.yaml --app-name=Simple --root=./demos --output=simple-api.sysl doesn't use flag root
This command sysl import uses flag input to specify Sysl module, and it is different from other commands like sysl export and sysl diagram etc. which specify Sysl module by argument <MODULE>. So sysl import doesn't use the command flag root as current code. The issue is when it types sysl help import, it display --root in optional flags too. It is easy to confuse user.
Your Environments
$ sysl info
Build:
Version : v0.136.0
Git Commit : 9d1dc564c36b273b09cbc68b7a1c4c1c42ea991e
Date : 2020-07-06T06:56:22Z
Go Version : go1.13.12 linux/amd64
OS : darwin/amd64
Please do not post any internal, closed source snippets on this public issue tracker!
Description
sysl import --input=simple-api.yaml --app-name=Simple --root=./demos --output=simple-api.sysl
doesn't use flagroot
This command
sysl import
uses flaginput
to specify Sysl module, and it is different from other commands likesysl export
andsysl diagram
etc. which specify Sysl module by argument<MODULE>
. Sosysl import
doesn't use the command flagroot
as current code. The issue is when it typessysl help import
, it display--root
in optional flags too. It is easy to confuse user.Your Environments