Skip to main content

Simple commandline tool for pulling data from strings repository (https://github.com/HereTrix/strings_repository)

Project description

StringsRepository CLI

Simple command line tool to pull changes from string repository.

Overview

Application utilize strings_repository.yaml file for configuration. It is possible to use custom environment variable to store access token or put it directly into file. Environment variable usage is highly recommended.

Installation

Install via pip install strings_repository

or manually clone repository and launch pip install .

Usage

Check version

strings_repository --version
strings_repository -v

Initialize configuration

To create configuration file run strings_repository init command and follow instructions.

strings_repository init [FILENAME]

FILENAME is optional. If omitted, defaults to strings_repository.yaml.

Pull localization files

strings_repository pull [FILENAME] [--bundle BUNDLE]

FILENAME is optional. If omitted, defaults to strings_repository.yaml.

--bundle / -b overrides the bundle version set in the config file (e.g. v1, active).

Configuration file

Alternatively you can create strings_repository.yaml file manually.

Example using an environment variable for the access token (recommended):

env_variable: ENV_VARIABLE
host: your_host
languages:
- en
path: Source
tags:
- your_tags
type: json

Example using a direct access token:

api_key: your_access_token
host: your_host
languages:
- en
path: Source
tags:
- your_tags
type: json

Example with a bundle version:

env_variable: ENV_VARIABLE
host: your_host
languages:
- en
bundle: active
path: Source
tags:
- your_tags
type: json

License

StringsRepository CLI is released under the MIT license. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

strings_repository-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

strings_repository-1.0.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file strings_repository-1.0.0.tar.gz.

File metadata

  • Download URL: strings_repository-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for strings_repository-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bf3445ae838537dc976f252cca9a446badd0116e10ebef7f8ad2dd6817803451
MD5 8aa4d0a4b5fd17227d48293165d8bc6d
BLAKE2b-256 25e3186777f10e1df53f2c07d3d541c955ac15ac443a74518c94f8ea7361f512

See more details on using hashes here.

File details

Details for the file strings_repository-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for strings_repository-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 159c1cfa9142eceabf90d2994e0c247a2091c3af2fcdfa68c4b4afa26859be12
MD5 cfbd3229abfee8866ad2a8d382eeac78
BLAKE2b-256 d36168847b29d94d6c96d21957744db2c3af572f74535ced97e8c6cc0e673f48

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page