【问题标题】:The Pkg REPL-mode [opts]?Pkg REPL 模式 [opts]?
【发布时间】:2020-09-07 07:38:05
【问题描述】:

在哪里可以找到包模式或包管理的命令选项列表及其文档? cmd [选择] [参数] 例如: st -m 绘制 GR 我可以在哪里阅读有关该选项的信息:​​-m 以及每个命令的可能选项

【问题讨论】:

    标签: julia documentation pkg-config


    【解决方案1】:

    交互方式,可以在包REPL模式下使用help命令:

    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中描述

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-10-16
      • 2021-10-24
      • 2015-04-06
      • 2017-05-16
      • 1970-01-01
      • 1970-01-01
      • 2019-05-01
      相关资源
      最近更新 更多