All Projects → dnnrly → Abbreviate

dnnrly / Abbreviate

Licence: apache-2.0
Supporting your devops by shortening your strings using common abbreviations and clever guesswork

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Abbreviate

Awesome Open Source Supporters
⭐️ A curated list of companies that offer their services for free to Open Source projects
Stars: ✭ 457 (+185.63%)
Mutual labels:  hacktoberfest, devops, devops-tools
Takeoff
A rapid development environment using docker for convenience.
Stars: ✭ 271 (+69.38%)
Mutual labels:  hacktoberfest, devops, devops-tools
Mobile.buildtools
The Mobile.BuildTools makes it easier to develop code bases in a clean, consistent, secure, and configurable way. Determine at Build which environment your app needs to run on, and what Client Secrets it should have. Plus many more amazing features!
Stars: ✭ 162 (+1.25%)
Mutual labels:  hacktoberfest, devops, devops-tools
Gomplate
A flexible commandline tool for template rendering. Supports lots of local and remote datasources.
Stars: ✭ 1,270 (+693.75%)
Mutual labels:  hacktoberfest, devops, devops-tools
Psrule
Validate infrastructure as code (IaC) and objects using PowerShell rules.
Stars: ✭ 107 (-33.12%)
Mutual labels:  devops, devops-tools
Kapitan
Generic templated configuration management for Kubernetes, Terraform and other things
Stars: ✭ 1,383 (+764.38%)
Mutual labels:  devops, devops-tools
Flint
Fast and configurable filesystem (file and directory names) linter
Stars: ✭ 115 (-28.12%)
Mutual labels:  devops, devops-tools
Introduction To Bash Scripting
Free Introduction to Bash Scripting eBook
Stars: ✭ 1,903 (+1089.38%)
Mutual labels:  hacktoberfest, devops
Promqueen
prometheus offline data recorder and backfiller
Stars: ✭ 88 (-45%)
Mutual labels:  devops, devops-tools
Config Lint
Command line tool to validate configuration files
Stars: ✭ 118 (-26.25%)
Mutual labels:  hacktoberfest, devops
Ops
Tools&scripts for daily devops.
Stars: ✭ 128 (-20%)
Mutual labels:  devops, devops-tools
Awstaghelper
AWS bulk tagging tool
Stars: ✭ 98 (-38.75%)
Mutual labels:  devops, devops-tools
Lambda Cost Calculator
Forecast Lambda functions costs 💰
Stars: ✭ 91 (-43.12%)
Mutual labels:  devops, devops-tools
Aws Toolbox
A collection of DevOps tools including shell & python scripts that automate the boring stuff in AWS.
Stars: ✭ 89 (-44.37%)
Mutual labels:  devops, devops-tools
Ansible Podman Collections
Repository for Ansible content that can include playbooks, roles, modules, and plugins for use with the Podman tool
Stars: ✭ 89 (-44.37%)
Mutual labels:  devops, devops-tools
Serverfarmer
Manage multiple servers with different operating systems, configurations, requirements etc. for many separate customers in an outsourcing model.
Stars: ✭ 122 (-23.75%)
Mutual labels:  devops, devops-tools
Walle Web
walle - 瓦力 Devops开源项目代码部署平台
Stars: ✭ 11,277 (+6948.13%)
Mutual labels:  devops, devops-tools
Inertia
✈️ Effortless, self-hosted continuous deployment for small teams and projects
Stars: ✭ 133 (-16.87%)
Mutual labels:  hacktoberfest, devops
Learn Devops
🚧 Learn the craft of "DevOps" (Developer Operations) to Deploy your App and Monitor it so it stays "Up"!
Stars: ✭ 139 (-13.12%)
Mutual labels:  devops, devops-tools
Envkey App
Secure, human-friendly, cross-platform secrets and config.
Stars: ✭ 83 (-48.12%)
Mutual labels:  devops, devops-tools

abbreviate

Shorten your strings using common abbreviations.

ko-fi

codecov godoc report card

GitHub watchers GitHub stars Twitter URL

Supported by Tidelift

Motivation

This tool comes out of a frustration of the name of resources (in my specific case, AWS stack names) being too long. Wouldn't it be nice if we could have a tool that would be able to suggest shorter alternatives if your original name is too long.

Installation

go get github.com/dnnrly/abbreviate
make build

Usage

This tool will attempt to shorten the string provided using common abbreviations
specified by language and 'set'. Common prefixes and suffixes are also abbreviated.
Word boundaries will be detected using title case and non-letters.

Hosted on Github - https://github.com/dnnrly/abbreviate

If you spot a bug, feel free to raise an issue or fix it and make a pull
request. We're really interested to see more abbreviations added or corrected.

Usage:
  abbreviate [action] [flags]
  abbreviate [command]

Available Commands:
  camel       Abbreviate a string and convert it to camel case
  help        Help about any command
  original    Abbreviate the string using the original word boundary separators
  pascal      Abbreviate a string and convert it to pascal case
  print       Print abbreviations in this set
  snake       Abbreviate a string and convert it to snake case
  kebab       Abbreviate a string and convert it to kebab case
  separated   Abbreviate a string and convert it with separator passed between words and abbreviations

Flags:
  -c, --custom string     Custom abbreviation set
      --from-front        Shorten from the front
  -h, --help              help for abbreviate
  -l, --language string   Language to select (default "en-us")
      --list              List all abbreviate sets by language
  -m, --max int           Maximum length of string, keep on abbreviating while the string is longer than this limit
  -n, --newline           Add newline to the end of the string (default true)
  -s, --set string        Abbreviation set (default "common")

Use "abbreviate [command] --help" for more information about a command.

Examples:

$ abbreviate original strategy-limited
stg-ltd

$ abbreviate original prestrategy-limitedment
prstg-ltdmnt

$ abbreviate original --max 11 strategy-limited
strategy-ltd

$ abbreviate original --max 11 --from-front strategy-limited
stg-limited

$ abbreviate camel --max 99 strategy-limited
strategyLimited

$ abbreviate kebab StrategyLimited
stg-ltd

$ abbreviate separated StrategyLimited --separator +
stg+ltd

$ abbreviate separated StrategyLimited
stgltd

Code of Conduct

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code.

Contributing

Pull requests are welcome. See the contributing guide for more details.

Please make sure to update tests as appropriate.

github.com/dnnrly/abbreviate for enterprise

Available as part of the Tidelift Subscription

The maintainers of github.com/dnnrly/abbreviate and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

License

Apache 2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].