-
Notifications
You must be signed in to change notification settings - Fork 0
/
moln_1_pre
58 lines (40 loc) · 1.57 KB
/
moln_1_pre
1
2
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.TH MOLN 1
.SH NAME
moln \- Convenience shell script to work with cloud services.
.SH SYNOPSIS
.B moln {options} [cloud] [command] {arguments}
.SH DESCRIPTION
Moln presents a uniform api that is implemented using cli commands
from different cloud providers. This can be used to do simple work on
multiple cloud providers (all,aws,azure,gcloud) using the same
commands. Moln can also print the underlying cli command to refresh
your memory or when you need to do more advanced commands against the
cloud provider.
Feel free to copy snippets and learn from this code. But as a whole it
is licensed under the MIT license and requires legal notices.
.SH EXAMPLES
.B moln aws install
.B moln gcloud install
.B moln azure install
Download the aws cli commands and put links to them inside your $HOME/bin directory and put the actual code in $HOME/opt.
.B moln aws whoami
Show your cloud identity/account information.
.B moln aws list-vpcs
Show a list of virtual private clouds.
.B moln all list-vms
Show a list of virtual machines for all your cloud providers for your accounts.
.B moln aws assume-role full_access_dns TimeForWork
Create a subshell, within which you have access to a different role to gain privileges. The subshell session is called TimeForWork.
.SH OPTIONS
\fB\--list-help\fR list all available commands.
.br
\fB\--output=\fR[terminal|ascii|man|htmq|tex] choose output format.
.br
\fB\-l\fR list all available commands.
.br
\fB\-lc\fR list all available clouds.
.br
\fB\-v\fR verbose will show the underlying cli commands.
.br
\fB\-d\fR debug with a lot of information.
.br