-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdoc.go
45 lines (38 loc) · 1.06 KB
/
doc.go
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
/*
Package cloud is a command line interface to sync files with cloud storages
cloud init
cloud sync
~/.cloudcore stores credentials
{
"providers": [
{
"provider": "CloudFiles",
"name": "mynamehere",
"key": "myapikey",
"auth_url": "LON"
}
]
}
.cloud must be in the root folder you want to sync. Here you can define
which containers to synchronize and define storage (CloudFiles, S3). More
than one container is useful if you test with one container (even other storage)
and deploy in another container.
{
"containers": [
{
"provider": "CloudFiles",
"name": "mycontainer1"
},
{
"provider": "CloudFiles",
"name": "mycontainer2"
}
]
}
.cloudignore is just like .gitignore file where you can add regexps which
files or folders to ignore.
// Put here what to ignore. Syntax like .gitignore
.cloud
.cloudignore
*/
package main