liveBook · Manning

Command-line tool

A command-line tool is a software program operated through textual commands, options, or arguments in a command-line interface.

How 3 Manning books explain it

F# in Action: A Revised Edition of Get Programming with F#

A console application is a program that interacts with users or other processes through a text-based terminal.

How it is used
Turns explored F# functions into terminal programs that collect input, invoke domain logic, and print results.
How deep it goes
Walks through creation, source-file inclusion, dependency ordering, execution, and a C# project reference; it does not detail argument parsing.
Examples
Uses Hello World scaffolding, a car-driving program that prints remaining gas, and an F# application consuming a C# Person class.
What you can do after
Build it from scratch as an F# console application, organize its files, run it, and reference a C# project.

Read how F# in Action: A Revised Edition of Get Programming with F# explains command-line tool →

Go in Practice, Second Edition

A console application is a program operated through a command-line text console by supplying commands, options, and arguments.

How it is used
Uses textual commands, options, flags, and arguments as the user interface for systems, utilities, and operational programs.
How deep it goes
Demonstrates standard-library parsing, framework-based commands, subcommands, configuration, and service lifecycle, but not GUI construction.
Examples
Uses a flagged Hello World command, Cobra-based greeting code, and a calculator with arithmetic subcommands.
What you can do after
Build it from scratch with Go's flag package or a command-line framework, including flags, help output, commands, and subcommands.

Read how Go in Practice, Second Edition explains command-line tool →

Go by Example

A command-line tool is a software program operated through textual commands in a shell or terminal.

How it is used
Automates repetitive tasks and runs programs through required arguments and optional flags.
How deep it goes
Explains arguments, flags, os, flag, custom flag types, and validation, stopping short of detailed parser internals.
Examples
Uses the HIT HTTP performance tool, terminal invocations, performance summaries, and exercises building related tools.
What you can do after
Build it from scratch with Go's os and flag packages, custom flag types, and input validation.

Read how Go by Example explains command-line tool →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.