cmds/root: ipfs root text arrangement
Juan Batiz-Benet committed
Feb 3, 2015 at 12:17 UTC
e384aec2a973e628e16fa1705dcc36aa533f602c
1 file changed
+18
-17
core/commands/root.go
+18
-17
@@ -22,7 +22,7 @@ var Root = &cmds.Command{
22
ipfs [<flags>] <command> [<arg>] ...
23
`,
24
ShortDescription: `
25
-Basic commands:
25
+BASIC COMMANDS
26
27
init Initialize ipfs local configuration
28
add <path> Add an object to ipfs
@@ -31,33 +31,34 @@ Basic commands:
31
ls <ref> List links from an object
32
refs <ref> List hashes of links from an object
33
34
-Tool commands:
34
+DATA STRUCTURE COMMANDS
35
36
- config Manage configuration
37
- update Download and apply go-ipfs updates
38
- version Show ipfs version information
39
- commands List all available commands
40
- id Show info about ipfs peers
41
- pin Pin objects to local storage
42
- name Publish or resolve IPNS names
43
- log Change the logging level
36
+ block Interact with raw blocks in the datastore
37
+ object Interact with raw dag nodes
38
45
-Advanced Commands:
39
+ADVANCED COMMANDS
40
41
daemon Start a long-running daemon process
42
mount Mount an ipfs read-only mountpoint
49
- diag Print diagnostics
43
+ name Publish or resolve IPNS names
44
+ pin Pin objects to local storage
45
+ gc Garbage collect unpinned objects
46
51
-Network commands:
47
+NETWORK COMMANDS
48
53
- swarm Manage connections to the p2p network
49
+ id Show info about ipfs peers
50
bootstrap Add or remove bootstrap peers
51
+ swarm Manage connections to the p2p network
52
+ dht Query the dht for values or peers
53
ping Measure the latency of a connection
54
+ diag Print diagnostics
55
57
-Plumbing commands:
56
+TOOL COMMANDS
57
59
- block Interact with raw blocks in the datastore
60
- object Interact with raw dag nodes
58
+ config Manage configuration
59
+ version Show ipfs version information
60
+ update Download and apply go-ipfs updates
61
+ commands List all available commands
62
63
Use 'ipfs <command> --help' to learn more about each command.
64
`,