A CLI package to create, maintain, and publish javascript block projects to AppMachine Flutter applications.
Using the CLI package, you're able to connect a local javascript project to your AppMachine Project. The CLI provides multiple commands to create, maintain and publish new blocks.
If you use a version control system like Git, make sure you add the myjsblock.credentials.json file to the .gitignore file. This will prevent it from being saved in version control and is a good security measure.
Some advanced configuration requires a myjsblock.config.json file in your project directory. This enables you to change settings like ouputDirectory and entryFile for your project.
This changes the output directory for your project. The default value is dist. The contents of this directory will be uploaded to the server by the CLI.
--token Block token for the AppMachine App.
--secret A Secret to login to the AppMachine server.
--overwrite Overwrites the credential and config files.
--help Displays complete help for [cmd].
--debug Helps debugging the CLI.