首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Pkg REPL模式?

Pkg REPL模式?
EN

Stack Overflow用户
提问于 2020-09-07 07:38:05
回答 1查看 167关注 0票数 1

哪里可以找到包模式或包管理的命令选项列表及其文档?例如,cmd选择: st -m绘图GR,在这里我可以看到选项:-m和每个命令的可能选项。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-09-07 08:23:10

交互式地,您可以在包REPL模式中使用help命令:

代码语言:javascript
复制
julia> # type ] to enter package mode
(@v1.5) pkg> help st
  [st|status] [-d|--diff] [pkgs...]
  [st|status] [-d|--diff] [-p|--project] [pkgs...]
  [st|status] [-d|--diff] [-m|--manifest] [pkgs...]

  Show the status of the current environment. In --project mode (default),
  the status of the project file is summarized. In --manifest mode the
  output also includes the recursive dependencies of added packages given
  in the manifest. If there are any packages listed as arguments the
  output will be limited to those packages. The --diff option will, if the
  environment is in a git repository, limit the output to the difference
  as compared to the last git commit.

  │ Julia 1.1
  │
  │  pkg> status with package arguments requires at least Julia 1.1.

  │ Julia 1.3
  │
  │  The --diff option requires Julia 1.3. In earlier versions --diff is
  |  the default for environments in git repositories.

除此之外,Pkg的REPL模式的所有命令(包括statushelp)都用Pkg.jl's documentation描述

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63773204

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档