# argv-fortran **Repository Path**: fortran-base/argv-fortran ## Basic Information - **Project Name**: argv-fortran - **Description**: 更易用的命令行函数 - **Primary Language**: Unknown - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: https://github.com/jacobwilliams/argv-fortran - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2022-04-11 - **Last Updated**: 2023-01-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # argv-fortran A better `get_command_argument` for Fortran that returns the argument in an allocatable character string. ### Usage To use `argv-fortran` within your fpm project, add the following to your `fpm.toml` file: ```toml [dependencies] argv-fortran = { git="https://github.com/jacobwilliams/argv-fortran.git" } ``` ### Example ```fortran program test use argv_module implicit none character(len=:),allocatable :: arg arg = argv(1) ! get the first argument end program test ```