mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-06-20 18:26:05 +08:00
15 lines
315 B
Go
15 lines
315 B
Go
package shell
|
|
|
|
import (
|
|
"github.com/yunionio/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
|
|
})
|
|
}
|