No project description provided
Project description
29 Next Theme Kit
Theme Kit is a cross-platform command line tool to build and maintain storefront themes on the 29 Next platform.
Installation
Theme Kit is a python package available on PyPi
If you already have python
and pip
, install with the following command:
pip install next-theme-kit
Mac OSX Requirements
See how to install python
and pip
with HomeBrew. Once you have completed this step you can install using the pip
instructions above.
Windows Requirements
See how to install python
and pip
with Chocolatey. Once you have completed this step you can install using the pip
instructions above.
Updating Theme Kit
Update to the latest version of Theme Kit with the following command:
pip install next-theme-kit --upgrade
Usage
With the package installed, you can now use the commands inside your theme directory and work on a storefront theme.
Available Commands
ntk init
- initialize a new thementk list
- list all available themesntk checkout
- checkout an existing thementk pull
- download existing theme or theme filentk push
- push current theme state to storentk watch
- watch for local changes and automatically push changes to store
Init
Initialize a new theme which will create the theme on a store and create an initial config.yml file
ntk init
Required flags without config.yml
Short | Long | Description |
---|---|---|
-a | --apikey | API Key used to connect to the store. |
-s | --store | Full domain of the store. |
-n | --name | Name of the new theme |
List
List all themes installed on the theme.
ntk list
Required flags without config.yml
Short | Long | Description |
---|---|---|
-a | --apikey | API Key used to connect to the store. |
-s | --store | Full domain of the store. |
Checkout
Checkout a theme from your store to pull it into your directory.
ntk checkout
Required flags without config.yml
Short | Long | Description |
---|---|---|
-a | --apikey | API Key used to connect to the store. |
-s | --store | Full domain of the store. |
-t | --theme_id | ID of the theme. |
Pull
Pull a theme from your store to into your directory.
ntk pull
Required flags without config.yml
Short | Long | Description |
---|---|---|
-a | --apikey | API Key used to connect to the store. |
-s | --store | Full domain of the store. |
-t | --theme_id | ID of the theme. |
Push
Push all theme files from your local directory to the store.
ntk push
Required flags without config.yml
Short | Long | Description |
---|---|---|
-a | --apikey | API Key used to connect to the store. |
-s | --store | Full domain of the store. |
-t | --theme_id | ID of the theme. |
Watch
Watch for file changes and additions in your local directory and automatically push them to the store.
ntk watch
Required flags without config.yml
Short | Long | Description |
---|---|---|
-a | --apikey | API Key used to connect to the store. |
-s | --store | Full domain of the store. |
-t | --theme_id | ID of the theme. |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for next_theme_kit-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cae4b6714320ab15487aaaa0b7c91d16ea4a4451d2b67193b2fd0985d936e8a |
|
MD5 | 23aa45b1cdbc2cc6b60719bb0a5ab858 |
|
BLAKE2b-256 | b9c98e5f74a452915781b60be0532056bb21b171db7e8d86e8f890435cb25a1c |