Command Line Reference


Command line utilities available from the project root.

Quick Helps


codeserver.atl
██ CodeServerTool ██████████████████████████████████████████████████████████████
██ Version: 5.0.0-dev ██████████████████████████████████████████████████████████

USAGE: codeserver.atl [command] [args]

 help [command]: view help for specific command.
 help --verbose: view all help for all commands.

install
Downloads Code-Server tarball and sets it up in ./local

patch-custom-css
No info provided.

run --pass=…
No info provided.

	--pass=…
	Omit to use the password in the config file. Specify to set a new password. No value will auto generate a new password.

date.atl
██ DateTool ████████████████████████████████████████████████████████████████████
██ Version: 5.0.0-dev ██████████████████████████████████████████████████████████

USAGE: date.atl [command] [args]

 help [command]: view help for specific command.
 help --verbose: view all help for all commands.

datetime --date=… --time=… --tz=… --unix=…
Show date and time stamp info.

	--date=…
	A date component to use as input.

	--time=…
	A time component to use as input.

	--tz=…
	A timezone component to use as input.

	--unix=…
	Unix timestamp as an integer to use as input date. Overrides all other input options.

dev.atl
██ DevTool █████████████████████████████████████████████████████████████████████
██ Version: 5.0.0-dev ██████████████████████████████████████████████████████████

USAGE: dev.atl [command] [args]

 help [command]: view help for specific command.
 help --verbose: view all help for all commands.

ace
Generate an ace.json file listing the themes and modes.

cachebust --delete --update
Manage the cache.bust file the theme engine uses.

	--delete
	Delete the cache.bust file.

	--update
	Update the cache.bust file.

dyes
No info provided.

gen-cli-html
Generate the theme PHTML files for the CLI commmand helps.

jsondbg --struct --json --touch --rewrite
Debug tool for atlantis.json

	--struct
	Print the parsed structure.

	--json
	Print the JSON structure.

	--touch
	Touch the selected JSON file.

	--rewrite
	Rewrite the selected JSON file.

loc [directory] [...] --nether --ext=…
Count lines of code in the specified directories.

	--nether
	Include installed NetherPHP libraries.

	--ext=…
	Comma delimited list of file extensions to include.

pullenv
No info provided.

run [cmdname] --dry --cmd --hush
Run one of the pre-defined command sequences from the project config.

	--dry
	Only make believe.

	--cmd
	Show the command that it executes.

	--hush
	Do not show the output of commands unless error.

sync [source] [dest] --soft
Wrap RSYNC to do the one goddamn thing I use it for, to make a mirror of a source directory, in a way I can remember. The source is the authouritative copy, the mirror is the duplicate.

	--soft
	When updating a destination, do not delete files the source said have been deleted.

uuid
No info provided.

dhd.atl
██ DHDTool █████████████████████████████████████████████████████████████████████
██ Version: 5.0.0-dev ██████████████████████████████████████████████████████████

USAGE: dhd.atl [command] [args]

 help [command]: view help for specific command.
 help --verbose: view all help for all commands.

update --outfile=…
Update the routes.phson file.

	--outfile=…
	File to update. (Default: ./routes.phson)

gfx.atl
██ Atlantis Graphics Tool ██████████████████████████████████████████████████████
██ Version: 5.0.0-dev ██████████████████████████████████████████████████████████

USAGE: gfx.atl [command] [args]

 help [command]: view help for specific command.
 help --verbose: view all help for all commands.

genshare [path/to/image.png] --force --width=… --height=… --scale=… --bg=… --ext=… --suffix=…
Generate the social share sized versions of a graphic. Mostly used for site logos.

	--force
	Allows overwriting existing output file.

	--width=…
	Width of output. Default: 1920

	--height=…
	Height of output. Default: 1080

	--scale=…
	Percentage input fills the output. Default: 64 (%)

	--bg=…
	Background colour of the output. Should accept any CSS colour name or hex code.

	--ext=…
	Output file extension/format. Recommend sticking with "jpg" or "png". Default: jpg

	--suffix=…
	Suffix that gets added to the filename. Default: ogimage

qr [data] --size=… --fresh=…
No info provided.

	--size=…
	Size of the QR in pixels. (Default: 1200)

	--fresh=…
	Overwrite with fresh copy if already exists.

wm [path/to/base.jpg] [path/to/watermark.png] --minv --mrot=… --mc=… --mo=… --tb[1-9]=…
Overlay a watermark on a base image.

	--minv
	Invert the watermark colours.

	--mrot=…
	Rotate the watermark (degrees).

	--mc=…
	Number of times watermark is repeated (how many columns).

	--mo=…
	Opacity of watermark.

	--tb[1-9]=…
	Lines of text at the bottom of the image.

project.atl
██ ProjectTool █████████████████████████████████████████████████████████████████
██ Version: 5.0.0-dev ██████████████████████████████████████████████████████████

USAGE: project.atl [command] [args]

 help [command]: view help for specific command.
 help --verbose: view all help for all commands.

init
Begin setting up the project from scratch.

setup --fix
Reconfigure anything that can be reconfigured easily.

	--fix
	Try to forcefully fix things considered errors.

db --info=… --json=… --set=… --del=… --host=… --db=… --user=… --pass=…
Manage the project database connection info.

	--info=…
	Specify the connection name to display the connection info.

	--json=…
	Specify the connection name to print the connection as JSON.

	--set=…
	Specify the connection name to add or update. ["Default"]

	--del=…
	Specify the connection name to delete from the config.

	--host=…
	Hostname of the DB Server.

	--db=…
	Name of the Database to open.

	--user=…
	Database auth username.

	--pass=…
	Database auth password.

dirs --add --del --path=…
Lists and Edit the directories managed by the Project JSON.

	--add
	Add the specified --path.

	--del
	Delete the specified --path.

	--path=…
	The path to manage.

perms --add --del --path=… --mode=…
No info provided.

	--add
	Add the specified path+mode to the config.

	--del
	Remove the specified path from the config.

	--path=…
	The path to manage.

	--mode=…
	The mode to chmod the path.

symlinks --add --del --path=… --source=…
Lists and Edit the Symlinks managed by the Project JSON.

	--add
	Add the specified --path.

	--del
	Delete the specified --path.

	--path=…
	The path to manage.

	--source=…
	The source to point at.

ssl.atl
██ CertTool ████████████████████████████████████████████████████████████████████
██ Version: 5.0.0-dev ██████████████████████████████████████████████████████████

USAGE: ssl.atl [command] [args]

 help [command]: view help for specific command.
 help --verbose: view all help for all commands.

config
Tool to configure the SSL cert for this project.

renew --issue
Renew the SSL cert for this project.

	--issue
	Issue the SSL for the first time.

cron
Shows the line to be added to crontab to auto-renew SSL.

lookup [domain]
Check the status of an SSL cert for any domain on the internet.

tag.atl
██ Tags ████████████████████████████████████████████████████████████████████████
██ Version: 0.0.0 ██████████████████████████████████████████████████████████████

USAGE: tag.atl [command] [args]

 help [command]: view help for specific command.
 help --verbose: view all help for all commands.

add [name] --alias=… --type=… --subtype=…
No info provided.

	--alias=…
	Specify a custom alias rather than generating it based from the name of the tag.

	--type=…
	Specify a type: "tag", "site", "topic" (default: "tag")

	--subtype=…
	Specify a subtype (default: "normal")

del --id=… --alias=…
No info provided.

	--id=…
	ID of the tag to delete.

	--alias=…
	Alias of the tag to delete.

list uuid glomp
No info provided.

	uuid
	Include a UUID column in the report.

	glomp
	Dump one giant list no pagination.

z-import-geo-us
No info provided.

user.atl
██ UserTool ████████████████████████████████████████████████████████████████████
██ Version: 5.0.0-dev ██████████████████████████████████████████████████████████

USAGE: user.atl [command] [args]

 help [command]: view help for specific command.
 help --verbose: view all help for all commands.

admin [id/alias/email] --set=…
Check and set admin status for a user.

	--set=…
	Set the admin status/level. 0 to just short of infinity.

logout [id/alias/email]
Forcefully log a user out of all their sessions.

passwd [id/alias/email]
Forcefully set a user password.

new
Launch user creation wizard.

web.atl
██ DevTool █████████████████████████████████████████████████████████████████████
██ Version: 5.0.0-dev ██████████████████████████████████████████████████████████

USAGE: web.atl [command] [args]

 help [command]: view help for specific command.
 help --verbose: view all help for all commands.

config --dry
Prepare web server configuration files.

	--dry
	Show the resulting JSON instead of updating the file.

setup
Push and confirm web server configuration setup.

reload
Kick web server to reload configuration.