# New, Read, and Catalog

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](https://jewels86.gitbook.io/axinite/axtools/template-files) 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.&#x20;

```
axcli read <FILE>
```

## Why it isn't Recommended to Use `axcli new` or `axcli read`

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]
```

Once the catalog is open:

* Type `s0-{end}` to select a system.
* Type `p0-{end}` to print another page.
* Type `q` to quit.

{% hint style="info" %}
You can also type `s{x}, s{y}` to select multiple.
{% endhint %}

## 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
```

3. Supply your users with the URL to your `catalog.txt` file, which can be used with

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