• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

thht / plus_sync / 213

04 May 2026 07:05AM UTC coverage: 64.842% (-27.2%) from 92.008%
213

push

gitlab-ci

update deps

616 of 950 relevant lines covered (64.84%)

0.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

16.67
/src/plus_sync/cmd/app.py
1
from typing import Annotated
×
2

3
import typer
×
4

5
from plus_sync.__version__ import __version__
×
6
from plus_sync.cmd.helpers.options import global_options
×
7

8
app = typer.Typer(no_args_is_help=True, rich_markup_mode='rich')
×
9

10

11
def version_callback(value: bool) -> None:
×
12
    if value:
1✔
13
        typer.echo(f'plus_sync {__version__}')
×
14
        raise typer.Exit()
×
15

16

17
@app.callback()
×
18
def common(
×
19
    config_file: Annotated[
20
        str,
21
        typer.Option(
22
            help='The configuration file to use.',
23
            envvar='PLUS_SYNC_CONFIG_FILE',
24
        ),
25
    ] = 'plus_sync.toml',
26
    version: bool = typer.Option(
27
        None, '--version', help='Display current version of plus_sync and exit.', callback=version_callback
28
    ),
29
) -> None:
30
    """
31
    Sync data between Gitlab and SinuheMEG or anything else that can be
32
    reached via gitlab, SFTP or rsync.
33

34
    Enter plus_sync init to get started.
35
    """
36
    global_options['config_file'] = config_file
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc