func GetNode(env interface{}) (*core.Dms3FsNode, error) {
	ctx, ok := env.(*commands.Context)
	if !ok {
		return nil, fmt.Errorf("expected env to be of type %T, got %T", ctx, env)
	}

	return ctx.GetNode()
}
// GetNode extracts the node from the environment.
GetNode extracts the node from the environment.
// GetNode extracts the node from the environment .
func GetNode(env interface{}) (*core.Dms3FsNode, error) {
	ctx, ok := env.(*commands.Context)
	if !ok {
		return nil, fmt.Errorf("expected env to be of type %T, got %T", ctx, env)
	}
	return ctx.GetNode()
}
func GetNode ( env interface { } ) ( * core . Dms3FsNode , error ) { ctx , ok := env . ( * commands . Context ) if ! ok { return nil , fmt . Errorf ( " " , ctx , env ) } return ctx . GetNode ( ) }
GetNode extracts the node from the environment.
GetNode extracts the node from the environment .