inlang CLI - collecting requirements and commands #273
Replies: 2 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Problem
Certain tasks benefit from a CLI. Furthermore, the CLI is a core component of enabling CI/CD processes.
Proposal of commands
inlang config
inlang init
interactive config creation commandinlang config validate
validating whether the config is correct.An example test is whether a round-trip of
readResources
andwriteResources
will lead to changes. If so, that's an error. The test cases could be combined with a general test suite that plugins can use too. The general test suite could strengthen the entire ecosystem by ensuring compatibility.inlang resources
inlang resources validate
validates whether the resources are correct (do all ids exist, etc. ?)Beta Was this translation helpful? Give feedback.
All reactions