Commands - espresso20/civcli GitHub Wiki
This page lists all available commands in CivIdleCli and explains how to use them.
Command | Description | Example |
---|---|---|
help |
Display available commands | help |
status |
Show detailed status of your civilization | status |
quit |
Exit the game | quit |
clear |
Clear the console screen | clear |
Command | Description | Example |
---|---|---|
gather <resource> <count> |
Assign villagers to gather resources | gather wood 2 |
assign <villager_type> <resource> <count> |
Assign villagers to tasks | assign villager food 3 |
unassign <villager_type> <resource> <count> |
Unassign villagers from tasks | unassign villager wood 1 |
Command | Description | Example |
---|---|---|
build <building> |
Build a structure | build farm |
buildings |
List available buildings and their costs | buildings |
Command | Description | Example |
---|---|---|
recruit <villager_type> <count> |
Recruit new villagers | recruit villager 2 |
Command | Description | Example |
---|---|---|
research <technology> |
Start researching a technology | research agriculture |
techs |
List available technologies for research | techs |
library [topic] |
Access the in-game library | library villagers |
Command | Description | Example |
---|---|---|
save <filename> |
Save the current game | save mygame |
load <filename> |
Load a saved game | load mygame |
saves |
List all saved games | saves |
Command | Description | Example |
---|---|---|
stats |
Display game statistics | stats |
gather <resource> <count>
Temporarily assigns the specified number of idle villagers to gather a resource.
Valid resources:
- food
- wood
- stone
- gold
- knowledge
assign <villager_type> <resource> <count>
Permanently assigns the specified number of idle villagers to gather a resource.
Valid villager types:
- villager
- scholar
build <building>
Builds a structure if you have enough resources.
Available buildings:
- hut
- farm
- lumber_mill
- mine
- market
- library
research <technology>
Begins researching a technology using your accumulated knowledge.
Use the techs
command to see available technologies.
library [topic]
Access the in-game library. If no topic is specified, shows a list of topics.
Available topics:
- villagers
- resources
- buildings
- ages
- commands
- tips
The game supports tab completion for commands:
- Type the beginning of a command and press Tab to complete it
- Press Tab after typing a command to see available subcommands or options
- Press Tab repeatedly to cycle through multiple matching options