3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# File 'lib/ftl/client.rb', line 3
def self.help_message
%Q{
Usage: [bold]ftl[/] \[<config-options>\] <command> \[<command-options>\]
commands: start, kill, list, edit, connect, servers, tags, images, snapshots, volumes
examples:
ftl launch ninja # Launches an instance named 'ninja'
ftl list # Shows running instances and status
ftl connect ninja # Connects to instance named 'ninja'
ftl kill ninja # Kills instances matching name /ninja/
ftl kill i-123456 # Kills instance with id i-123456
ftl spot ninja 0.02 # Request spot instance using template :ninja for $0.02
ftl cancel sir-123456 # Cancel spot instance with id sir-123456
ftl spots # Shows AWS spot requests
ftl images # Shows AWS images
ftl snapshots # Shows AWS snapshots
ftl tags # Shows AWS tags
ftl volumes # Shows AWS volumes
ftl headers servers # Show possible headers for servers
ftl headers volumes # Show possible headers for volumes
ftl edit # Edit ftl.yml with your $EDITOR
ftl images # Show AMIs associated with your account
ftl <action> ninja # Execute the <action> (specified in ftl.yml) on the remote server instance
ftl <script> ninja # Execute the <script> (specified in ftl.yml) on your local machine
ftl --config=~/ftl.yml servers # Uses custom config file
ftl --headers=id,tags.Name servers # Uses specified headers
ftl --version # Show version number
}
end
|