26 lines
587 B
C++
26 lines
587 B
C++
// Copyright (c) 2017-2023, University of Cincinnati, developed by Henry Schreiner
|
|
// under NSF AWARD 1414736 and by the respective contributors.
|
|
// All rights reserved.
|
|
//
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
#pragma once
|
|
|
|
#include <CLI/Macros.hpp>
|
|
|
|
namespace CLI {
|
|
// [CLI11:argv_hpp:verbatim]
|
|
|
|
/// argc as passed in to this executable.
|
|
CLI11_INLINE int argc();
|
|
|
|
/// argv as passed in to this executable, converted to utf-8 on Windows.
|
|
CLI11_INLINE const char *const *argv();
|
|
|
|
// [CLI11:argv_hpp:end]
|
|
} // namespace CLI
|
|
|
|
#ifndef CLI11_COMPILE
|
|
#include "impl/Argv_inl.hpp"
|
|
#endif
|