# Exploring CLI Best Practices

DevFeed: [Exploring CLI Best Practices](<https://devfeed.tech/articles/exploring-cli-best-practices-28625.md>)

Original publisher: [Read original article](<https://eng.localytics.com/exploring-cli-best-practices/>)

Author: Kevin Deisz

Published: 2016-10-11T19:25:23Z

Content type: tutorial

Language: en

Sources: [Localytics](<https://devfeed.tech/sources/localytics.md>)

Topics: [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Ruby](<https://devfeed.tech/topics/ruby.md>), [Thor](<https://devfeed.tech/topics/thor.md>), [Tooling](<https://devfeed.tech/topics/tooling.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [cli](<https://devfeed.tech/tags/cli.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [thor](<https://devfeed.tech/tags/thor.md>), [tooling](<https://devfeed.tech/tags/tooling.md>), [user-experience](<https://devfeed.tech/tags/user-experience.md>)

## AI overview

Localytics describes best practices for designing intuitive command-line interfaces, based on its experience refining internal Ruby CLIs built with Thor. The recommendations include providing sensible defaults, offering readable options with short aliases, following common command-line conventions, and allowing users to identify files explicitly.

## Source excerpt

At Localytics we build command line interfaces that manage our infrastructure and processes. This is our list of best practices that we've learned.