unicorn-plus-plus-cli

A cli for the unicorn-plus-plus package builder for cpp based on CMAKE

Usage no npm install needed!

<script type="module">
  import unicornPlusPlusCli from 'https://cdn.skypack.dev/unicorn-plus-plus-cli';
</script>

README

logo

Unicorn-plus-plus CLI

Unicorn-plus-plus is a packet manager that boosts your .cpp projects with ✨magic✨.
- Requirements -


:rocket: Installation

  1. Install npm
  2. Execute the command
npm install unicorn-plus-plus-cli -g

:unicorn: Unicorn Plus Plus

UPP is a wrapper for CMAKE. It aims to standardize the development of cpp libraries.
The main feature is the upp.json configuration file. At the moment, the available features are only the ones shown in this example:

{
  "name": "Unicorn",
  "namespace": "Magicland",
  "version": "4.0.4",
  "description": "This Unicorn packet is awersome.",
  "modules": [
    {
      "name": "MagiclandCat",
      "tag": "HEAD",
      "path": "https://github.com/unicorn-plus-plus/cat",
    },
    {
      "name": "MagiclandGuineapig",
      "tag": "HEAD",
      "path": "https://github.com/unicorn-plus-plus/guineapig",
    },
  ]
}

:computer: CLI Commands

If you want to see help just press upp in console.

Here is the list of all commands available:

  • new:simple [name]
    Create a new simple project. Use this if you want to build a simple main to test stuff.
  • new:executable [name] -n [namespace]
    Create a new executable project with namespace. Use this for standard project. You must specify a namespace to avoid problems with hierarchy.
  • new:interface [name] -n [namespace]
    Create a new interface project with namespace. Similar to executable but you need this version if you use full templates and you don't have .cpp file to compile.
  • help [command]
    Display help for command.

:gift: Credits