Fission commands
Before we look at moving our Fission installation to a public cloud, we should look at the command client a little more. There are several top-level commands available that we can use to manage our functions and routes.
The fission function command
This is pretty much where you will spend most of your time when using Fission. The function command is how you create, manage, and delete your functions. You can use either fission function <command>
or fission fn <command>
.
The create command
We have already used this command so we don't need to go into too much detail. The fission function create
command takes several options; the most common ones are:
--name
: This indicates what we want to call our function.--env
: This indicates the environment we want to deploy our function in. More on environments in the next section.--code
: The path or URL to the code we wish to deploy.--url
: The URL we want our function to be available at.--method
: How we access our function on the...