书栈网 · BookStack 本次搜索耗时 0.020 秒,为您找到 993 个相关结果.
  • 介绍

    Introduction(介绍) 什么是”源代码安全审计(白盒扫描)”? Cobra为什么能从源代码中扫描到漏洞? Cobra和其它源代码审计系统有什么区别或优势? Cobra支持哪些开发语言? Cobra能发现哪些漏洞? Cobra能应用在哪些场景? Cobra是什么类型应用? 如何参与Cobra开发? Cobra文档 Intro...
  • Help Command

    953 2019-04-24 《Cobra Document》
    Help Command Example Defining your own help Help Command Cobra automatically adds a help command to your application when you have subcommands.This will be called when a user...
  • Usage Message

    1168 2019-04-24 《Cobra Document》
    Usage Message Example Defining your own usage Usage Message When the user provides an invalid flag or invalid command, Cobra responds byshowing the user the ‘usage’. Examp...
  • Example

    1071 2019-04-24 《Cobra Document》
    Example Example In the example below, we have defined three commands. Two are at the top leveland one (cmdTimes) is a child of one of the top commands. In this case the rootis ...
  • Installing

    680 2019-04-24 《Cobra Document》
    Installing Installing Using Cobra is easy. First, use go get to install the latest versionof the library. This command will install the cobra generator executablealong with t...
  • 调度程序启动前逻辑

    调度程序启动前逻辑 概述 cobra和main cobra是啥 使用cobra Scheduler的main 调度程序启动前逻辑 概述 前面提到过scheduler程序可以分为三层,第一层是调度器启动前的逻辑,包括命令行参数解析、参数校验、调度器初始化等一系列逻辑。这个部分我不会太详细地介绍,因为这些代码位于调度框架之前,相对比较枯燥...
  • Overview

    707 2019-04-24 《Cobra Document》
    Overview Overview Cobra is a library providing a simple interface to create powerful modern CLIinterfaces similar to git & go tools. Cobra is also an application that will gen...
  • 程序目录结构

    目录结构(Tree) 目录结构(Tree) . ├── CONTRIBUTING . md (贡献文档) ├── LICENSE (开源协议) ├── README . md (介绍页) ├── cobra (主程序目录) │ ├── __init__ . py │ ├── __version__ ...
  • Getting Started

    561 2019-04-24 《Cobra Document》
    Getting Started Getting Started While you are welcome to provide your own organization, typically a Cobra-basedapplication will follow the following organizational structure: ...
  • cmd/nirvana

    262 2021-07-11 《Nirvana v0.3 教程》
    nirvana 命令 nirvana 命令 Nirvana 命令对应的包在 cmd/nirvana 中,目前包括三个命令: init,用于初始化标准项目目录结构和必要文件 api,用于生成 API 文档(需要确保使用的是标准的项目结构,否则可能无法正常工作) client,用于生成 API 对应的客户端(需要确保使用的是标准的项目结构,否则可能...