aboutsummaryrefslogtreecommitdiff
path: root/bpkg/cfg-create.hxx
blob: ca5522c052e10f450720c092b84ded6120beace6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// file      : bpkg/cfg-create.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

#ifndef BPKG_CFG_CREATE_HXX
#define BPKG_CFG_CREATE_HXX

#include <bpkg/types.hxx>
#include <bpkg/utility.hxx>

#include <bpkg/cfg-create-options.hxx>

namespace bpkg
{
  int
  cfg_create (const cfg_create_options&, cli::scanner& args);

  default_options_files
  options_files (const char* cmd,
                 const cfg_create_options&,
                 const strings& args);

  cfg_create_options
  merge_options (const default_options<cfg_create_options>&,
                 const cfg_create_options&);
}

#endif // BPKG_CFG_CREATE_HXX