GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — rhwp-python/python/rhwp/cli/_state.py at main · DanMeon/rhwp-python

Expand file tree

/

_state.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
16 lines (10 loc) · 402 Bytes
/

_state.py

Copy path

File metadata and controls

16 lines (10 loc) · 402 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""CLI 전역 상태 — ``--quiet`` 플래그 공유용.
Typer ``ctx.obj`` 를 거치지 않고 모듈 레벨 단순 변수로 처리한다 — CLI 한 번
실행에 한 번만 셋되고 서브커맨드 진입 시점엔 callback 이 항상 먼저 호출된다.
"""
_QUIET = False
def set_quiet(value: bool) -> None:
global _QUIET
_QUIET = value
def is_quiet() -> bool:
return _QUIET
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.