Go-ipfs: Add a config profile ls command

Created on 3 Apr 2018  路  2Comments  路  Source: ipfs/go-ipfs

Currently, figuring out which profiles exist is a bit of a pain. It would be nice to have a config profile ls command that lists all the existing profiles.

Ideally, this would work by introspecting the list of profiles in repo/config/profile.go. However, to make that work, the Transformer functions there will need to be replaced with Profile structs:

type Profile struct {
    Description string
    Transformer func(c *Config) error
}
help wanted kinenhancement topicommands

Most helpful comment

All 2 comments

Will work on this!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lidel picture lidel  路  3Comments

Kubuxu picture Kubuxu  路  3Comments

djdv picture djdv  路  3Comments

magik6k picture magik6k  路  3Comments

whyrusleeping picture whyrusleeping  路  4Comments