├── .github ├── FUNDING.yml └── workflows │ └── swift.yml ├── .gitignore ├── .swift-version ├── LICENSE ├── Package.resolved ├── Package.swift ├── README.md ├── Sources ├── TextCase │ ├── Format.swift │ ├── ListFormats.swift │ ├── TextCase.swift │ └── io │ │ ├── StandardErrorOutputStream.swift │ │ └── StandardOutputStream.swift └── TextCaseKit │ ├── Format.swift │ ├── FormatRepository.swift │ └── Formats │ ├── Base64 │ ├── DecodeBase64.swift │ └── EncodeBase64.swift │ ├── Cleaning │ ├── StripHTML.swift │ ├── StripWhitespace.swift │ └── TrimWhitespace.swift │ ├── Counts │ ├── CountCharacters.swift │ ├── CountCharactersExcWhitespace.swift │ ├── CountLines.swift │ ├── CountLinesExcBlanks.swift │ └── CountWords.swift │ ├── Fonts │ ├── BoldSansSerif.swift │ ├── BoldSerif.swift │ ├── FontFormat.swift │ ├── Gothic.swift │ ├── Italic.swift │ ├── ItalicBoldSansSerif.swift │ ├── ItalicBoldSerif.swift │ ├── LettersInCirclesFilled.swift │ ├── LettersInCirclesOutline.swift │ ├── LettersInSquaresFilled.swift │ ├── LettersInSquaresOutline.swift │ ├── Script.swift │ └── Strikethrough.swift │ ├── Fun │ ├── ClapCase.swift │ ├── Hashtags.swift │ ├── Rot13.swift │ ├── Shuffled.swift │ ├── Slug.swift │ ├── SmallCaps.swift │ ├── Spongebob.swift │ └── UpsideDown.swift │ ├── Programming │ ├── CamelCase.swift │ ├── KebabCase.swift │ ├── PascalCase.swift │ └── SnakeCase.swift │ ├── Simple │ ├── Capitalise.swift │ ├── CapitaliseWords.swift │ ├── Lowercase.swift │ ├── Reversed.swift │ ├── Sentence.swift │ └── Uppercase.swift │ └── Title │ ├── AMATitleCase.swift │ ├── APATitleCase.swift │ ├── APTitleCase.swift │ ├── BaseTitleCase.swift │ ├── BluebookTitleCase.swift │ ├── CMOSTitleCase.swift │ ├── GuardianTitleCase.swift │ ├── MLATitleCase.swift │ ├── NYTTitleCase.swift │ ├── TitleCaseConfiguration.swift │ └── WikipediaTitleCase.swift ├── Tests └── TextCaseKitTests │ ├── Base64FormatTests.swift │ ├── CleaningFormatTests.swift │ ├── CountsFormatTests.swift │ ├── FontFormatTests.swift │ ├── FormatTestBase.swift │ ├── FunFormatTests.swift │ ├── ProgrammingFormatTests.swift │ ├── SimpleFormatTests.swift │ └── TitleFormatTests.swift ├── logo.jpeg └── project.yml /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [chrishannah] 2 | -------------------------------------------------------------------------------- /.github/workflows/swift.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/.github/workflows/swift.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.xcodeproj 2 | .build 3 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 5.8 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/README.md -------------------------------------------------------------------------------- /Sources/TextCase/Format.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCase/Format.swift -------------------------------------------------------------------------------- /Sources/TextCase/ListFormats.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCase/ListFormats.swift -------------------------------------------------------------------------------- /Sources/TextCase/TextCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCase/TextCase.swift -------------------------------------------------------------------------------- /Sources/TextCase/io/StandardErrorOutputStream.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCase/io/StandardErrorOutputStream.swift -------------------------------------------------------------------------------- /Sources/TextCase/io/StandardOutputStream.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCase/io/StandardOutputStream.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Format.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Format.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/FormatRepository.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/FormatRepository.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Base64/DecodeBase64.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Base64/DecodeBase64.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Base64/EncodeBase64.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Base64/EncodeBase64.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Cleaning/StripHTML.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Cleaning/StripHTML.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Cleaning/StripWhitespace.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Cleaning/StripWhitespace.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Cleaning/TrimWhitespace.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Cleaning/TrimWhitespace.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Counts/CountCharacters.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Counts/CountCharacters.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Counts/CountCharactersExcWhitespace.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Counts/CountCharactersExcWhitespace.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Counts/CountLines.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Counts/CountLines.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Counts/CountLinesExcBlanks.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Counts/CountLinesExcBlanks.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Counts/CountWords.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Counts/CountWords.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/BoldSansSerif.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/BoldSansSerif.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/BoldSerif.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/BoldSerif.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/FontFormat.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/FontFormat.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/Gothic.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/Gothic.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/Italic.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/Italic.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/ItalicBoldSansSerif.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/ItalicBoldSansSerif.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/ItalicBoldSerif.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/ItalicBoldSerif.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/LettersInCirclesFilled.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/LettersInCirclesFilled.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/LettersInCirclesOutline.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/LettersInCirclesOutline.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/LettersInSquaresFilled.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/LettersInSquaresFilled.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/LettersInSquaresOutline.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/LettersInSquaresOutline.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/Script.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/Script.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fonts/Strikethrough.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fonts/Strikethrough.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fun/ClapCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fun/ClapCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fun/Hashtags.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fun/Hashtags.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fun/Rot13.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fun/Rot13.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fun/Shuffled.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fun/Shuffled.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fun/Slug.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fun/Slug.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fun/SmallCaps.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fun/SmallCaps.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fun/Spongebob.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fun/Spongebob.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Fun/UpsideDown.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Fun/UpsideDown.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Programming/CamelCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Programming/CamelCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Programming/KebabCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Programming/KebabCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Programming/PascalCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Programming/PascalCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Programming/SnakeCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Programming/SnakeCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Simple/Capitalise.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Simple/Capitalise.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Simple/CapitaliseWords.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Simple/CapitaliseWords.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Simple/Lowercase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Simple/Lowercase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Simple/Reversed.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Simple/Reversed.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Simple/Sentence.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Simple/Sentence.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Simple/Uppercase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Simple/Uppercase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Title/AMATitleCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Title/AMATitleCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Title/APATitleCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Title/APATitleCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Title/APTitleCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Title/APTitleCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Title/BaseTitleCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Title/BaseTitleCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Title/BluebookTitleCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Title/BluebookTitleCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Title/CMOSTitleCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Title/CMOSTitleCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Title/GuardianTitleCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Title/GuardianTitleCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Title/MLATitleCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Title/MLATitleCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Title/NYTTitleCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Title/NYTTitleCase.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Title/TitleCaseConfiguration.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Title/TitleCaseConfiguration.swift -------------------------------------------------------------------------------- /Sources/TextCaseKit/Formats/Title/WikipediaTitleCase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Sources/TextCaseKit/Formats/Title/WikipediaTitleCase.swift -------------------------------------------------------------------------------- /Tests/TextCaseKitTests/Base64FormatTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Tests/TextCaseKitTests/Base64FormatTests.swift -------------------------------------------------------------------------------- /Tests/TextCaseKitTests/CleaningFormatTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Tests/TextCaseKitTests/CleaningFormatTests.swift -------------------------------------------------------------------------------- /Tests/TextCaseKitTests/CountsFormatTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Tests/TextCaseKitTests/CountsFormatTests.swift -------------------------------------------------------------------------------- /Tests/TextCaseKitTests/FontFormatTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Tests/TextCaseKitTests/FontFormatTests.swift -------------------------------------------------------------------------------- /Tests/TextCaseKitTests/FormatTestBase.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Tests/TextCaseKitTests/FormatTestBase.swift -------------------------------------------------------------------------------- /Tests/TextCaseKitTests/FunFormatTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Tests/TextCaseKitTests/FunFormatTests.swift -------------------------------------------------------------------------------- /Tests/TextCaseKitTests/ProgrammingFormatTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Tests/TextCaseKitTests/ProgrammingFormatTests.swift -------------------------------------------------------------------------------- /Tests/TextCaseKitTests/SimpleFormatTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Tests/TextCaseKitTests/SimpleFormatTests.swift -------------------------------------------------------------------------------- /Tests/TextCaseKitTests/TitleFormatTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/Tests/TextCaseKitTests/TitleFormatTests.swift -------------------------------------------------------------------------------- /logo.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/logo.jpeg -------------------------------------------------------------------------------- /project.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chrishannah/textcase-cli/HEAD/project.yml --------------------------------------------------------------------------------