# Cargo Commander The simple way of running commands

Introduction

Cargo Commander serves to fill the gap in the cargo commands capabilities, namely not being able to run commands in a similar fashion that npm does with scripts.

Getting started

Either create your commands under a [commands] section in your Cargo.toml file, or create a new Commands.toml file which uses the exact same syntax as if it had been under the commands section. ```shell

Install cargo-commander

cargo install cargo-commander

Run your command

cargo cmd COMMAND ```

How to use

```toml

Cargo.toml

[commands] hello = "echo world" multiple = ["echo first", "echo second"] advanced = { cmd = "", shell = "python"} ```