New, Read, and Catalog
A guide to creating and reading template/meta files.
On this page, you'll learn about:
The
axcli newcommandThe
axcli readcommandWhy it's recommended not to use these commands
Using the
axcli catalogcommandSetting up your own catalog for others to use
axcli new
axcli newThe 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 newaxcli read
axcli readaxcli read is a command that reads the data from a file and pretty prints it to the console.
axcli read <FILE>Why it isn't Recommended to Use axcli new or axcli read
axcli new or axcli readTemplate 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
axcli catalogThe 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]Once the catalog is open:
Type
s0-{end}to select a system.Type
p0-{end}to print another page.Type
qto quit.
How to Set Up Your Own Catalog
Create a
catalog.txtsomewhere on your website (e.gexample.com/templates/catalog.txt)Fill it with a list of your .meta.ax files, like
my-first-system.meta.ax
my-second-system.meta.axSupply your users with the URL to your
catalog.txtfile, which can be used with
axcli catalog -u example.com/templates/catalog.txtLast updated