← 返回命令列表

Linux command

ic 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show current context

ic

Switch context

ic [context-name]

List contexts

ic -l

Create context

ic -c [name]

说明

ic is a context switcher for various tools. Different implementations exist for kubectl contexts, AWS profiles, and other multi-environment tools. The tool simplifies switching between configurations. It provides quick access to different environments or clusters.

参数

-l, --list
List contexts.
-c, --create _NAME_
Create new context.
-d, --delete _NAME_
Delete context.
--help
Display help information.

FAQ

What is the ic command used for?

ic is a context switcher for various tools. Different implementations exist for kubectl contexts, AWS profiles, and other multi-environment tools. The tool simplifies switching between configurations. It provides quick access to different environments or clusters.

How do I run a basic ic example?

Run `ic` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -l, --list do in ic?

List contexts.