nx-start
########
Project generator for Nintendo Switch homebrews.
.. image:: https://travis-ci.org/roedesh/nxstart.svg?branch=master
:target: https://travis-ci.org/roedesh/nxstart
Features
========
- Generate a libnx (C++) project using ``nxstart libnx``
- Generate a libtransistor (C) project using ``nxstart libt``
- Generate a BrewJS (Javascript) project using ``nxstart brewjs``
- Generate a PyNX (Python) project using ``nxstart pynx``
Installation
============
Install from PyPi using `pip <http://www.pip-installer.org/en/latest>`_, a package manager for
Python.
.. code-block:: bash
$ pip install nxstart
Don't have pip installed? Try installing it, by running this from the
command line:
.. code-block:: bash
$ curl https://bootstrap.pypa.io/get-pip.py | python
Or, you can `download the source code <https://github.com/roedesh/nxstart>`_ for ``nxstart`` and then run:
.. code-block:: bash
$ python setup.py install
You may need to run the above commands with ``sudo``.
Generating a libnx (C++) project
==============================
Run ``nxstart libnx``. It will ask for a project name, author name and if you are
using CLion (IDE by Jetbrains). If you say yes to CLion, ``CMakeLists.txt`` will be included.
The following project structure will be generated:
.. code-block:: bash
project
│ .editorconfig
│ .gitignore
│ CMakeLists.txt // Only if you use CLion
│ Makefile
│ icon.jpg
│ README.md
│
└───data
│
└───include
│
└───source
│ main.cpp // Your main application file
Generating a libtransistor (C) project
====================================
Run ``nxstart libt``. It will ask for a project name, author name and if you are
using CLion (IDE by Jetbrains). If you say yes to CLion, ``CMakeLists.txt`` will be included.
The following project structure will be generated:
.. code-block:: bash
project
│ .editorconfig
│ .gitignore
│ CMakeLists.txt // Only if you use CLion
│ main.c
│ Makefile
│ icon.jpg
│ README.md
│
Generating a BrewJS (Javascript) project
======================================
Run ``nxstart brewjs``. It will ask for a project name, author name. The following project structure will be generated:
.. code-block:: bash
project
│ .editorconfig
│ .gitignore
│ index.js // Your main application file
│ README.md
│
└───assets
│
Generating a PyNX (Python) project
================================
Run ``nxstart pynx``. It will ask for a project name, author name. The following project structure will be generated:
.. code-block:: bash
project
│ .editorconfig
│ .gitignore
│ main.py // Your main application file
│ README.md
│
Skip prompts
===============
To skip the prompts, provide the necessary flags. For example:
.. code-block:: bash
$ nxstart -n "My new project" -a "John Doe" libnx --clion
Or if you don't use CLion:
.. code-block:: bash
$ nxstart -n "My new project" -a "John Doe" libnx --no-clion
########
Project generator for Nintendo Switch homebrews.
.. image:: https://travis-ci.org/roedesh/nxstart.svg?branch=master
:target: https://travis-ci.org/roedesh/nxstart
Features
========
- Generate a libnx (C++) project using ``nxstart libnx``
- Generate a libtransistor (C) project using ``nxstart libt``
- Generate a BrewJS (Javascript) project using ``nxstart brewjs``
- Generate a PyNX (Python) project using ``nxstart pynx``
Installation
============
Install from PyPi using `pip <http://www.pip-installer.org/en/latest>`_, a package manager for
Python.
.. code-block:: bash
$ pip install nxstart
Don't have pip installed? Try installing it, by running this from the
command line:
.. code-block:: bash
$ curl https://bootstrap.pypa.io/get-pip.py | python
Or, you can `download the source code <https://github.com/roedesh/nxstart>`_ for ``nxstart`` and then run:
.. code-block:: bash
$ python setup.py install
You may need to run the above commands with ``sudo``.
Generating a libnx (C++) project
==============================
Run ``nxstart libnx``. It will ask for a project name, author name and if you are
using CLion (IDE by Jetbrains). If you say yes to CLion, ``CMakeLists.txt`` will be included.
The following project structure will be generated:
.. code-block:: bash
project
│ .editorconfig
│ .gitignore
│ CMakeLists.txt // Only if you use CLion
│ Makefile
│ icon.jpg
│ README.md
│
└───data
│
└───include
│
└───source
│ main.cpp // Your main application file
Generating a libtransistor (C) project
====================================
Run ``nxstart libt``. It will ask for a project name, author name and if you are
using CLion (IDE by Jetbrains). If you say yes to CLion, ``CMakeLists.txt`` will be included.
The following project structure will be generated:
.. code-block:: bash
project
│ .editorconfig
│ .gitignore
│ CMakeLists.txt // Only if you use CLion
│ main.c
│ Makefile
│ icon.jpg
│ README.md
│
Generating a BrewJS (Javascript) project
======================================
Run ``nxstart brewjs``. It will ask for a project name, author name. The following project structure will be generated:
.. code-block:: bash
project
│ .editorconfig
│ .gitignore
│ index.js // Your main application file
│ README.md
│
└───assets
│
Generating a PyNX (Python) project
================================
Run ``nxstart pynx``. It will ask for a project name, author name. The following project structure will be generated:
.. code-block:: bash
project
│ .editorconfig
│ .gitignore
│ main.py // Your main application file
│ README.md
│
Skip prompts
===============
To skip the prompts, provide the necessary flags. For example:
.. code-block:: bash
$ nxstart -n "My new project" -a "John Doe" libnx --clion
Or if you don't use CLion:
.. code-block:: bash
$ nxstart -n "My new project" -a "John Doe" libnx --no-clion
Metadata
Release files for nxstart 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nxstart-1.0.0.tar.gz | 47.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nxstart-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 130.7 kB
Release files / nxstart-1.0.0.tar.gz
| Download URL | nxstart-1.0.0.tar.gz |
|---|---|
| Size | 47.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a4d34fbeb5d8017ee0553cd7cbeb5d021eca010b33786624cf0b29b1d8dd37f
|
|
BLAKE2b-256 checksum How to use checksums |
3e58b892d1154e9fb6581c379fc08c36e97af88836d25933e56e1018dc59f542
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / nxstart-1.0.0-py3-none-any.whl
| Download URL | nxstart-1.0.0-py3-none-any.whl |
|---|---|
| Size | 82.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0399680654cd5c72cf57fc8a8dfd3fbbefacd1c91278ae121b0bdd2e3ce6992
|
|
BLAKE2b-256 checksum How to use checksums |
8490b3044ac513d1cf0963224550a969674bdd0472cd96176b3d3a1080b1429d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |