Command Line Interface (CLI)
Aerostack2 has a CLI to ease the use of the Aerostack2 pipeline. Typing as2 on the command line, you can access the different available tools. Also, it is possible to access the help message with a brief description of the different tools using as2, as2 –help, or as2 -h.
List of commands:
Build all Aerostack2 (or just the package/packages indicated). It is not necessary to execute this command in the Aerostack2 workspace directory.
as2_packageand its dependencies are built.as2 build as2_package
Every package inside Aerostack2 is built.as2 buildChange the current directory to the Aerostack2 directory (or the Aerostack2 package directory indicated).
Takes you toas2_packagedirectory.as2 cd as2_package
Takes you to$AEROSTACK_PATHdirectory.as2 cd
Takes you to$AEROSTACK_PATH/projects/as2_projectdirectory. As long asas2_projectis in the projects folder inside$AEROSTACK_PATH.as2 cd as2_project
Clean workspace.
Removes installed binaries fromas2_package.as2 clean as2_package
Removes all installed binaries from all Aerostack2 packages.as2 clean -a
List Aerostack2 packages.
List all installed packages from Aerostack2.as2 listList and install Aerostack2 projects.
List available projects.as2 project list
Installas2_projectin$AEROSTACK2_PATH/projects/folder.as2 project as2_project