![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@mittwald/cli
Advanced tools
mw
— the mittwald command-line toolmw
is the command-line tool for interacting with the mittwald mStudio v2 API.
Installation using Homebrew is the recommended way of installation on macOS.
$ brew tap mittwald/cli
$ brew install mw
Find the appropriate Windows installer from the
releases page and run the installer.
After running the installer, you should be able to use the mw
command on
either the CMD prompt or PowerShell.
Installing the CLI via NPM will work on any OS; however we cannot guarantee
stability, because functionality of the CLI may depend on the Node.js runtime
already installed on your system. Also, the automatic upgrade will not work when
using NPM; remember to run npm upgrade -g @mittwald/cli
occasionally.
$ npm install -g @mittwald/cli
There is also the
mittwald/cli
Docker image that you
can use instead of installing the CLI on your system. In case of the Docker
container, authentication works a bit differently than described below: Make
sure that there is an environment variable MITTWALD_API_TOKEN
present on your
system; you can then pass that environment variable into your container:
$ export MITTWALD_API_TOKEN=<enter token here>
$ docker run --rm -it -e MITTWALD_API_TOKEN mittwald/cli help
To use the CLI, you will need an
mStudio API token. With
your token in your clipboard, run the mw login token
command:
$ mw login token
Enter your mStudio API token: ****************
token saved to '/Users/mhelmich/.config/mw/token'
The mw
CLI offers a lot of commands and flags, and it can be hard to remember
all of them. To make your life easier, the CLI offers autocompletion for the
Bash and ZSH shells. To enable autocompletion, run the following command:
$ mw autocomplete
After that, follow the instructions printed by that command (those are specific to your shell -- Bash, ZSH and Powershell are supported).
If you are a developer (either at @mittwald or an external contributor) and want to contribute to the CLI, please refer to the CONTRIBUTING.md document.
$ npm install -g @mittwald/cli
$ mw COMMAND
running command...
$ mw (--version)
@mittwald/cli/1.0.0 darwin-arm64 node-v18.11.0
$ mw --help [COMMAND]
USAGE
$ mw COMMAND
...
mw app
- Manage apps, and app installations in your projectsmw autocomplete
- Display autocomplete installation instructions.mw backup
- Manage backups of your projectsmw context
- Save certain environment parameters for later usemw conversation
- Manage your support casesmw cronjob
- Manage cronjobs of your projectsmw database
- Manage databases (like MySQL and Redis) in your projectsmw ddev
- Integrate your mittwald projects with DDEVmw domain
- Manage domains, virtual hosts and DNS settings in your projectsmw help
- Display help for mw.mw login
- Manage your client authenticationmw mail
- Manage mailboxes and mail addresses in your projectsmw org
- Manage your organizations, and also any kinds of user memberships concerning these organizations.mw project
- Manage your projects, and also any kinds of user memberships concerning these projects.mw server
- Manage your serversmw sftp-user
- Manage SFTP users of your projectsmw ssh-user
- Manage SSH users of your projectsmw update
- update the mw CLImw user
- Manage your own user accountFAQs
Hand-crafted CLI for the mittwald API
The npm package @mittwald/cli receives a total of 80 weekly downloads. As such, @mittwald/cli popularity was classified as not popular.
We found that @mittwald/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.