2014-08-01 20:20:28 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/fd0/khepri"
|
2014-09-23 20:39:12 +00:00
|
|
|
"github.com/fd0/khepri/backend"
|
2014-08-01 20:20:28 +00:00
|
|
|
)
|
|
|
|
|
2014-09-23 20:39:12 +00:00
|
|
|
func commandList(be backend.Server, key *khepri.Key, args []string) error {
|
2014-08-01 20:20:28 +00:00
|
|
|
|
2014-09-23 20:39:12 +00:00
|
|
|
// ids, err := be.ListRefs()
|
|
|
|
// if err != nil {
|
|
|
|
// fmt.Fprintf(os.Stderr, "error: %v\n", err)
|
|
|
|
// return nil
|
|
|
|
// }
|
2014-08-01 20:20:28 +00:00
|
|
|
|
2014-09-23 20:39:12 +00:00
|
|
|
// for _, id := range ids {
|
|
|
|
// fmt.Printf("%v\n", id)
|
|
|
|
// }
|
2014-08-01 20:20:28 +00:00
|
|
|
|
|
|
|
return nil
|
|
|
|
}
|