mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-31 04:50:10 +08:00
15 lines
307 B
Go
15 lines
307 B
Go
package shell
|
|
|
|
import (
|
|
"yunion.io/x/onecloud/pkg/mcclient"
|
|
)
|
|
|
|
func init() {
|
|
type CurrentUserOptions struct {
|
|
}
|
|
R(&CurrentUserOptions{}, "session-show", "show information of current account", func(s *mcclient.ClientSession, args *CurrentUserOptions) error {
|
|
printObject(s.ToJson())
|
|
return nil
|
|
})
|
|
}
|