New, Read, and Catalog

A guide to creating and reading template/meta files.

On this page, you'll learn about:

  • The axcli new command

  • The axcli read command

  • Why it's recommended not to use these commands

  • Using the axcli catalog command

  • Setting up your own catalog for others to use

axcli new

The axcli new command creates a new template file based on the input it's given. The template file will be named the system's name.

axcli new

axcli read

axcli read is a command that reads the data from a file and pretty prints it to the console.

axcli read <FILE>

Template files are generally meant to be edited with a text editor, mainly because the modification of template files is so crucial to the usage of axinite. It's much easier to understand and read templates from an editor.

axcli catalog

The axcli catalog command queries a catalog.txt file to get a list of .meta.ax files. It then displays all these files in a menu and allows for them to be downloaded.

axcli catalog [-u|--url URL]

How to Set Up Your Own Catalog

  1. Create a catalog.txt somewhere on your website (e.g example.com/templates/catalog.txt)

  2. Fill it with a list of your .meta.ax files, like

my-first-system.meta.ax
my-second-system.meta.ax
  1. Supply your users with the URL to your catalog.txt file, which can be used with

axcli catalog -u example.com/templates/catalog.txt

Last updated