public interface NshExecutionContext
Nsh getShell()
InputStream in()
net.thevpc.nuts.io.NPrintStream out()
net.thevpc.nuts.io.NPrintStream err()
net.thevpc.nuts.core.NWorkspace getWorkspace()
net.thevpc.nuts.core.NSession getSession()
boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmd)
boolean isAskVersion()
void configureLast(net.thevpc.nuts.cmdline.NCmdLine cmd)
NshContext getShellContext()
net.thevpc.nuts.io.NTerminalMode geTerminalMode()
boolean isAskHelp()
DefaultNshExecutionContext setAskHelp(boolean askHelp)
<T> T getOptions()
NshExecutionContext setOptions(Object options)
NshNode getRootNode()
NshNode getParentNode()
NshVariables vars()
NshFunctionManager functions()
NshExecutionContext setOut(PrintStream out)
NshExecutionContext setErr(PrintStream err)
NshExecutionContext setIn(InputStream in)
NshExecutionContext setEnv(Map<String,String> env)
String getDirectory()
String getHome()
void setDirectory(String cwd)
NshFileSystem getFileSystem()
NshContext getParentContext()
NshAliasManager aliases()
NshBuiltinManager builtins()
String getServiceName()
NshExecutionContext setSession(net.thevpc.nuts.core.NSession session)
net.thevpc.nuts.cmdline.NCmdLineAutoComplete getAutoComplete()
Copyright © 2026 vpc open source initiative. All rights reserved.