Skip to content

Command Line Scripts

nicholasdeporzio edited this page May 22, 2019 · 2 revisions

In the package directory, there is a directory called /bin. The purpose of this directory is to hold scripts intended to be executed from the command line after the package has been installed.

For example, a script may exist with the name /bin/test-script with the format:

#!/usr/bin/env python
  
import cosmicfish
print("Test command line script for cosmicfish.")
Clone this wiki locally