Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ğ
Ğcli-v2s
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
Rust
Ğcli-v2s
Merge requests
!36
config save: Print update confirmation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
config save: Print update confirmation
config_save_confirmation
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Moul
requested to merge
config_save_confirmation
into
master
3 months ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
671f1496
1 commit,
3 months ago
1 file
+
1
−
0
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/conf.rs
+
1
−
0
Options
@@ -86,6 +86,7 @@ pub fn handle_command(data: Data, command: Subcommand) -> Result<(), GcliError>
}
Subcommand
::
Save
=>
{
confy
::
store
(
APP_NAME
,
None
,
&
data
.cfg
)
.expect
(
"unable to write config"
);
println!
(
"Configuration updated!"
);
}
Subcommand
::
Default
=>
{
confy
::
store
(
APP_NAME
,
None
,
Config
::
default
())
.expect
(
"unable to write config"
);