패키지, 저장소 및 앱 카테고리 검색

패키지 상세v2.7.0

args

GNU 및 POSIX 스타일 옵션을 사용하여 원시 명령줄 인수를 옵션과 값의 집합으로 파싱하기 위한 파서를 정의하는 라이브러리입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1350만
좋아요
430
Pub 점수
150

패키지 설치

flutter pub add args

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

args 패키지는 Dart 애플리케이션에서 명령줄 인수를 파싱하는 강력한 방법을 제공하며, GNU 및 POSIX 스타일 옵션을 지원합니다. 개발자가 플래그, 스위치 및 위치 인수용 구조화된 파서를 정의할 수 있게 하여 원시 입력을 깔끔하고 사용 가능한 형식으로 변환합니다. CLI 도구, 스크립트 및 콘솔 애플리케이션에 적합하며, 직관적인 API와 강력한 타입 안전성을 통해 인수 처리를 간소화합니다. 이 패키지는 가볍고 잘 문서화되어 있으며, 모바일, 웹, 데스크톱을 포함한 모든 주요 플랫폼과 호환됩니다.

사용 사례

  • CLI 도구 빌드
  • 스크립트에서 사용자 입력 분석
  • 명령줄을 통한 애플리케이션 구성
  • 인수를 사용하여 작업 자동화
  • 개발 도구 개발
  • 앱용 명령줄 인터페이스 만들기

주요 기능

  • GNU 및 POSIX 옵션 스타일을 지원합니다
  • 유형을 사용한 유연한 인수 분석
  • 내장형 도움말 생성
  • 플래그, 스위치 및 값을 처리합니다
  • 타입 안전한 결과 출력
  • Flutter 및 Dart 앱과의 간편한 통합

적합한 대상

  • CLI 애플리케이션 개발자
  • 스크립트 작성자
  • 도구 빌더
  • DevOps 자동화
  • 크로스 플랫폼 명령줄 도구
  • 입력 파싱이 필요한 Dart/Flutter 프로젝트

고려 사항

  • 인수 정의를 수동으로 설정해야 합니다
  • 명령줄 입력만 가능
  • 구문 분석 외에는 내장 검증 없음
  • GUI 기반 입력에 적합하지 않습니다
  • 독립적 또는 스크립트 컨텍스트에서 가장 잘 사용됩니다
  • 인수 구문의 올바른 사용에 따라 달라짐

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Overview

This repository is home to various Dart packages under the dart.dev publisher.

Packages

Package Description Issues Version
args Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options. issues pub package
async Utility functions and classes related to the 'dart:async' library. issues pub package
characters String replacement with operations that are Unicode/grapheme cluster aware. issues pub package
collection Collections and utilities functions and classes related to collections. issues pub package
convert Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types. issues pub package
crypto Implementations of SHA, MD5, and HMAC cryptographic functions. issues pub package
fixnum Library for 32- and 64-bit signed fixed-width integers with consistent behavior between native and JS runtimes. issues pub package
lints Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. issues pub package
logging Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger. issues pub package
os_detect Platform independent OS detection. issues pub package
path A string-based path manipulation library. issues pub package
platform A pluggable, mockable platform information abstraction for Dart. issues pub package
typed_data Utility functions and classes related to the dart:typed_data library. issues pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트